
.wv-app, .wv-app *, .wv-overlay, .wv-overlay * { box-sizing: border-box; }
.wv-app { --wv-ink: #eef2f7; --wv-muted: #9fb0c4; --wv-line: #2f3b4d; --wv-gold: #f6ad55; --wv-bg: #0f141d;
  --gs-ink: var(--wv-ink); --gs-muted: var(--wv-muted); --gs-line: var(--wv-line); --gs-accent: var(--wv-gold);
  --gs-accent-ink: #1a1205; --gs-panel: #151c28; --gs-bg: var(--wv-bg); --gs-chip: rgba(21, 28, 40, .9);
  position: relative; display: flex; flex-direction: column; color: var(--wv-ink); font: 16px/1.45 "Segoe UI", system-ui, Arial, sans-serif; overflow: clip; }
.wv-app.wv-embedded { min-height: 520px; border-radius: 0; border: 1px solid var(--wv-line);
  background: radial-gradient(120% 80% at 50% 30%, #1b2230 0%, var(--wv-bg) 55%, #090c12 100%); }
.wv-app.gs-fs { background: radial-gradient(120% 80% at 50% 30%, #1b2230 0%, var(--wv-bg) 55%, #090c12 100%); min-height: 0; overflow: hidden; }
.wv-overlay { font-family: "Segoe UI", system-ui, Arial, sans-serif; color: var(--wv-ink); }
.wv-app button, .wv-overlay button { font: inherit; color: inherit; cursor: pointer; }
.wv-app button:focus-visible, .wv-overlay button:focus-visible { outline: 2px solid var(--wv-gold); outline-offset: 2px; }
.wv-app .gs-stage, .wv-app .gs-main { min-height: 0; }
.wv-app.gs-wide .gs-stage { align-items: stretch; grid-template-rows: minmax(0, 1fr); }
.wv-app .gs-side { min-height: 0; overflow: hidden; }
.wv-body { position: relative; z-index: 1; flex: 1; min-height: 0; display: flex; flex-direction: column; }
.wv-main { flex: 1; min-height: 0; width: min(100%, 900px); margin: 0 auto; padding: 0 10px 8px; display: flex; flex-direction: column; gap: 4px; }
.wv-msg { text-align: center; padding: 30px 10px; color: var(--wv-muted); }
.wv-stage { flex: 1; min-height: 0; display: flex; border-radius: 0; padding: 14px 14px 4px 8px; transition: background .8s ease .7s; }
.wv-stage:has(.wv-vdoor.open) { background: radial-gradient(60% 70% at 40% 50%, #fff6d0 0%, #ffd166 35%, #5a3a08 80%, transparent 100%); }
.wv-vdoor { --f1: #8a99ab; --f2: #5d6b7c; --rim: #c3ced9; --acc: #63b3ed; position: relative; flex: 1; min-height: 0; display: flex; flex-direction: column; padding: 36px 12px 12px 18px; border-radius: 0;
  background: linear-gradient(150deg, var(--f1), var(--f2)); border: 3px solid var(--rim);
  box-shadow: inset 0 0 0 3px rgba(0,0,0,.35), inset 0 0 40px rgba(0,0,0,.25), 0 12px 28px rgba(0,0,0,.55);
  transform-origin: left center; transition: transform 1.3s cubic-bezier(.5,0,.3,1) .6s; }
.wv-vdoor.open { transform: perspective(1400px) rotateY(-64deg); }
.wv-vdoor.alarm { box-shadow: inset 0 0 0 3px #ff6b6b, 0 0 22px rgba(255,107,107,.45), 0 12px 28px rgba(0,0,0,.55); }
.wv-vdoor.off .wv-mach { display: none; }
.wv-doorhead { position: absolute; left: 0; right: 0; top: 0; height: 34px; display: flex; align-items: center; justify-content: space-between; padding: 0 24px 0 26px; }
.wv-plate { font: 800 10.5px "Segoe UI", Arial, sans-serif; letter-spacing: .8px; color: #10151c; background: rgba(255,255,255,.28); border: 1px solid rgba(0,0,0,.35); border-radius: 0; padding: 2px 8px; white-space: nowrap; }
.wv-dialsvg { position: absolute; left: 50%; top: -22px; transform: translateX(-50%); width: 62px; height: 62px; filter: drop-shadow(0 4px 5px rgba(0,0,0,.5)); }
.wv-hinge { position: absolute; left: -9px; width: 16px; height: 38px; border-radius: 0; background: linear-gradient(90deg, var(--rim), #6b7686); box-shadow: 0 2px 4px rgba(0,0,0,.5); }
.wv-bolt { position: absolute; right: -12px; width: 26px; height: 14px; border-radius: 0; background: linear-gradient(180deg, var(--rim), #6b7686); box-shadow: 0 2px 4px rgba(0,0,0,.5); transition: transform .6s ease; }
.wv-vdoor.open .wv-bolt { transform: translateX(-22px); }
.wv-dial { transform-box: fill-box; transform-origin: center; transition: transform 1.1s cubic-bezier(.25,1.2,.4,1); }
@keyframes wvRattle { 0% { transform: translate(0,0); } 15% { transform: translate(-3px,1px); } 30% { transform: translate(3px,-1px); }
  45% { transform: translate(-3px,0); } 60% { transform: translate(3px,1px); } 80% { transform: translate(-2px,0); } 100% { transform: translate(0,0); } }
.wv-status { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 12.5px; color: #cbd5e0; padding: 0 6px; white-space: nowrap; }
.wv-pips { display: inline-flex; gap: 4px; align-items: center; vertical-align: middle; }
.wv-pip { width: 11px; height: 11px; border-radius: 0; background: #2a3342; border: 1px solid #455166; }
.wv-pip.on { background: #e05555; border-color: #ff9a9a; box-shadow: 0 0 6px rgba(224,85,85,.6); }
.wv-status b { color: #fbd38d; }
.wv-status .wv-go { color: #68d391; animation: wvGlow 1.2s ease-in-out infinite; }
@keyframes wvGlow { 50% { filter: brightness(1.4); } }
.wv-say { height: 20px; line-height: 20px; text-align: center; font-weight: 700; font-size: 13px; color: #fbd38d; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.wv-say.bad { color: #ff9a9a; } .wv-say.good { color: #68d391; }
.wv-article { position: relative; flex: 1; min-height: 0; border-radius: 0; padding: 12px 54px 12px 12px; background: linear-gradient(135deg, #1d2c3d, #0c141d); border: 1px solid var(--wv-line); overflow: hidden; }
.wv-article.paged { padding-bottom: 56px; }
.wv-mach { position: absolute; left: 0; top: 0; z-index: 0; pointer-events: none; }
#wvText { position: relative; z-index: 1; font-size: var(--fs, 14px); }
.wv-measure { font-size: var(--fs, 14px); }
.wv-pill, .wv-txt { background: rgba(8,12,18,.9); color: #f4efe2; border-radius: 0; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.wv-art-title { margin: 0 0 6px; font: 700 16px/1.3 Georgia, serif; }
.wv-art-title .wv-pill { display: inline-block; padding: 3px 14px; font: 700 calc(var(--fs, 14px) + 3px)/1.3 Georgia, serif; color: #fff; }
#wvText p, .wv-measure p { margin: 0 0 8px; font: var(--fs, 14px)/calc(var(--fs, 14px) * 1.3 + 9px) Georgia, "Times New Roman", serif; }
#wvText p:last-child, .wv-measure p:last-child { margin-bottom: 0; }
.wv-txt { display: inline; padding: 4px 10px; }
.wv-gap { position: relative; display: inline-block; margin: 0 2px; padding: 0; border: 0; background: none; vertical-align: middle; line-height: 1; cursor: pointer; }
.wv-gap.solved { cursor: default; }
.wv-gs { position: absolute; left: 0; top: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.wv-gn { font: 800 12px "Segoe UI", Arial, sans-serif; fill: #f6ad55; }
.wv-gap.target .wv-ring, .wv-gap.over .wv-ring { stroke: #fff; stroke-width: 3.4; }
.wv-gap.over .wv-gs, .wv-gap.target .wv-gs { filter: drop-shadow(0 0 7px #f6ad55); }
.wv-gt { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 2; background: rgba(8,12,18,.92); color: #fff; border-radius: 0; padding: 2px 9px; font: 800 13px "Segoe UI", Arial, sans-serif; white-space: nowrap; pointer-events: none; border: 1px solid rgba(255,255,255,.18); }
.wv-gt.wv-bad { background: #6e1f1f; border-color: #ff9a9a; }
.wv-gap.solved { animation: wvSnap .35s ease-out; }
.wv-gap.miss .wv-gt { background: #6e1f1f; }
.wv-jam.shake { animation: wvRattle .45s linear; }
.wv-jam { animation: wvSwell .2s ease-out; transform-origin: 0 0; }
@keyframes wvSwell { from { transform: scale(.5); } to { transform: scale(1); } }
@keyframes wvSnap { 40% { transform: scale(1.1); } }
.wv-lever-arm { transform-box: fill-box; transform-origin: 100% 50%; transform: rotate(32deg); transition: transform .55s cubic-bezier(.3,1.4,.5,1); }
.wv-article.pulled .wv-lever-arm { transform: rotate(-72deg); }
.wv-article.ready .wv-lever-knob { fill: #68d391; filter: drop-shadow(0 0 6px #68d391); }
.wv-sidelever { position: absolute; right: 0; width: 40px; height: 124px; z-index: 3; background: none; border: 0; cursor: pointer; }
.wv-article:not(.ready) .wv-sidelever { cursor: not-allowed; }
.wv-pager { position: absolute; left: 0; right: 0; bottom: 8px; z-index: 3; display: none; justify-content: center; align-items: center; gap: 6px; }
.wv-pg, .wv-dot { min-width: 38px; height: 34px; padding: 0 8px; border-radius: 0; border: 1px solid #3c4660; background: rgba(21,28,40,.95); color: #e2e8f0; font-weight: 800; font-size: 13px; line-height: 1; }
.wv-pg:disabled { opacity: .35; cursor: default; }
.wv-dot small { display: block; font-size: 10px; font-weight: 700; color: #f6ad55; margin-top: 1px; }
.wv-dot.on { background: #f6ad55; border-color: #fff3d6; color: #1a1205; } .wv-dot.on small { color: #3a2204; }
.wv-dot.done small { color: #68d391; }
.wv-traybox { flex: 0 0 auto; padding: 6px 6px 4px; border-top: 1px solid var(--wv-line); border-radius: 0; background: rgba(15,20,29,.9); overflow: hidden; }
.wv-traytop { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 5px; }
.wv-defbar { flex: 1 1 200px; min-width: 0; font-size: 12.5px; color: #cbd5e0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wv-defbar b { color: #fff; } .wv-defbar i { color: #f6ad55; font-style: normal; font-size: 11px; }
.wv-filters { display: flex; gap: 5px; flex-wrap: wrap; }
.wv-filter { background: rgba(255,255,255,.06); color: #cbd5e0; border: 1px solid rgba(255,255,255,.14); border-radius: 0; padding: 2px 9px; font-size: 11.5px; min-height: 26px; }
.wv-filter.active { background: #f6ad55; color: #1a1205; border-color: #f6ad55; font-weight: 700; }
.wv-tray { display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 5px; align-content: start; }
.wv-article, .wv-tray { user-select: none; -webkit-user-select: none; }
.wv-card { display: flex; justify-content: space-between; align-items: baseline; gap: 6px; min-height: 34px; text-align: left; background: linear-gradient(180deg, #2d3548, #232a3a); border: 1px solid #3c4660; border-bottom-color: #1b2130; border-radius: 0; padding: 5px 9px; color: #e2e8f0;
  box-shadow: 0 2px 0 #141925; touch-action: pan-y; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; transition: transform .12s ease; }
.wv-card:hover { transform: translateY(-1px); }
.wv-card.sel { background: linear-gradient(180deg, #fbd38d, #f6ad55); color: #1a1205; border-color: #fff3d6; transform: translateY(-2px); }
.wv-card.lifted { opacity: .35; }
.wv-word { font-weight: 700; font-size: 14px; white-space: nowrap; } .wv-pos { font: 9.5px monospace; opacity: .65; }
.wv-ghost { position: fixed; z-index: 9999; pointer-events: none; width: 130px; background: linear-gradient(180deg, #fbd38d, #f6ad55); color: #1a1205; border-radius: 0; padding: 7px 10px;
  box-shadow: 0 10px 22px rgba(0,0,0,.5); font-weight: 700; transform: translate(-50%, -60%) rotate(-3deg); display: flex; justify-content: space-between; }
.wv-ghost.back { transition: left .28s ease, top .28s ease, opacity .28s ease; opacity: .2; }
.wv-overlay.gs-shade { background: rgba(6,10,16,.62); }
.wv-endcard { width: min(640px, calc(100% - 12px)); max-height: calc(100% - 12px); overflow: hidden; border-radius: 0; padding: 12px 14px; background: #131925; border: 1px solid #2d3748; animation: wvPop .4s ease; display: flex; flex-direction: column; }
@keyframes wvPop { 0% { transform: scale(.96); opacity: 0; } 100% { transform: none; opacity: 1; } }
.wv-end-title { font-size: 19px; font-weight: 800; color: #fff; }
.wv-end-sub { color: #cbd5e0; font-size: 13px; margin: 2px 0 8px; }
.wv-stars span { font-size: 22px; color: #4a5568; } .wv-stars span.on { color: #f6c343; }
.wv-rev { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 4px; min-height: 0; }
.wv-rev-row { display: grid; grid-template-columns: 22px 1fr; gap: 6px; align-items: center; padding: 3px 7px; border-radius: 0; background: rgba(255,255,255,.04); font-size: 12px; min-width: 0; }
.wv-rev-row.ok { border-left: 3px solid #68d391; } .wv-rev-row.no { border-left: 3px solid #fc8181; }
.wv-rev-n { font-weight: 800; color: #a0aec0; }
.wv-rev-t { color: #a0aec0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .wv-rev-t b { color: #fff; } .wv-rev-t i { color: #f6ad55; font-style: normal; font-size: 10.5px; }
.wv-extras { margin-top: 6px; font-size: 11.5px; color: #a0aec0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .wv-extras b { color: #e2e8f0; }
.wv-next { margin-top: 10px; align-self: center; background: linear-gradient(180deg, #f6ad55, #dd8a2a); color: #1a1205; border: 0; border-radius: 0; padding: 9px 20px; font-weight: 800; min-height: 42px; box-shadow: 0 4px 0 #8a5212; }
.wv-note { font-size: 12.5px; color: var(--wv-muted); }
.wv-list { margin: 0; padding-left: 18px; display: grid; gap: 8px; font-size: 14px; }
@media (max-width: 560px) {
  .wv-main { padding: 0 4px 6px; }
  .wv-stage { padding: 12px 12px 2px 6px; }
  .wv-vdoor { padding: 32px 8px 8px 12px; }
  .wv-article { padding: 8px 40px 8px 8px; }
  .wv-article.paged { padding-bottom: 52px; }
  .wv-txt { padding: 3px 8px; }
  .wv-tray { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; }
  .wv-word { font-size: 13px; overflow: hidden; text-overflow: ellipsis; }
  .wv-pos { display: none; }
  .wv-card { min-height: 30px; padding: 3px 6px; }
  .wv-word { font-size: 12.5px; }
  .wv-traytop { margin-bottom: 3px; gap: 4px; }
  .wv-filter { padding: 1px 7px; min-height: 22px; font-size: 11px; }
  .wv-plate { font-size: 9.5px; padding: 2px 6px; }
  .wv-plx { display: none; }
  .wv-ghost { width: 110px; }
  .wv-rev { grid-template-columns: 1fr; }
}
@media (pointer: coarse) {
  .wv-app .wv-card { min-height: 42px; }
  .wv-app .wv-filter { min-height: 40px; padding: 2px 11px; font-size: 12px; }
}
.wv-app.wv-embedded { clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px); }
.wv-vdoor { --wv-cut: 18px; clip-path: polygon(var(--wv-cut) -30px, calc(100% + 30px) -30px, calc(100% + 30px) calc(100% - var(--wv-cut)), calc(100% - var(--wv-cut)) calc(100% + 30px), -30px calc(100% + 30px), -30px var(--wv-cut)); box-shadow: inset 0 0 0 3px rgba(0,0,0,.35), inset 0 0 40px rgba(0,0,0,.25); }
.wv-article, .wv-endcard, .wv-ghost, .wv-next, .wv-card { clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px); }
.wv-pg, .wv-dot, .wv-filter, .wv-plate { clip-path: polygon(5px 0, 100% 0, 100% calc(100% - 5px), calc(100% - 5px) 100%, 0 100%, 0 5px); }
.wv-next { box-shadow: none; }
.wv-status .wv-streak.hot b { color: #f6c177; }
.wv-status .wv-streak b { display: inline-block; }
.wv-flour { position: absolute; left: 50%; top: 22%; z-index: 20; pointer-events: none; padding: 8px 18px; background: linear-gradient(180deg, #f6ad55, #dd8a2a); color: #1a1205;
  font: 800 20px/1 monospace; letter-spacing: 1px; white-space: nowrap; transform: translateX(-50%); opacity: 0;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px); }
.wv-auto { display: flex; align-items: center; gap: 10px; margin: 8px 0 0; font-size: 13px; color: #cbd5e0; }
.wv-auto-t { white-space: nowrap; } .wv-auto-t b { color: #f6ad55; font-family: monospace; }
.wv-auto-bar { flex: 1; height: 8px; background: rgba(255, 255, 255, .12); overflow: hidden; clip-path: polygon(3px 0, 100% 0, 100% calc(100% - 3px), calc(100% - 3px) 100%, 0 100%, 0 3px); }
.wv-auto-bar i { display: block; height: 100%; background: #f6ad55; transform-origin: left; will-change: transform; }
.wv-stay { min-height: 40px; padding: 8px 14px; background: transparent; color: var(--wv-ink); border: 1px solid #f6ad55; border-radius: 0; font-weight: 700;
  clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px); }
