@ywkrlerche/richardwho 1.0.39 โ†’ 1.0.40

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.html CHANGED
@@ -13,9 +13,29 @@
13
13
  // Apply the saved tab disguise and theme before anything else shows (app.js has the full theme code)
14
14
  try {
15
15
  var s = JSON.parse(localStorage.getItem("rug-settings") || "{}");
16
- var m = new Date().getMonth(), t = s.theme && s.theme !== "auto" ? s.theme : m === 9 ? "halloween" : m === 11 ? "christmas" : "black";
16
+ // Which holiday theme is on today (null = none). Shared with app.js as window.rugHoliday.
17
+ window.rugHoliday = function (now) {
18
+ now = now || new Date();
19
+ var y = now.getFullYear(), m = now.getMonth(), d = now.getDate(), today = new Date(y, m, d).getTime(), DAY = 864e5;
20
+ // Easter Sunday (Gregorian computus)
21
+ var a = y % 19, b = Math.floor(y / 100), c = y % 100, h = (19 * a + b - Math.floor(b / 4) - Math.floor((b - Math.floor((b + 8) / 25) + 1) / 3) + 15) % 30;
22
+ var l = (32 + 2 * (b % 4) + 2 * Math.floor(c / 4) - h - c % 4) % 7, mm = Math.floor((a + 11 * h + 22 * l) / 451);
23
+ var easter = new Date(y, Math.floor((h + l - 7 * mm + 114) / 31) - 1, (h + l - 7 * mm + 114) % 31 + 1).getTime();
24
+ var thanksgiving = 1 + (4 - new Date(y, 10, 1).getDay() + 7) % 7 + 21; // 4th Thursday of November
25
+ if ((m === 11 && d === 31) || (m === 0 && d <= 7)) return "newyear";
26
+ if (m === 1 && d <= 14) return "valentines";
27
+ if (m === 2 && d >= 10 && d <= 17) return "stpatricks";
28
+ if (today >= easter - 7 * DAY && today <= easter + DAY) return "easter";
29
+ if (m === 6 && d <= 5) return "july4";
30
+ if (m === 9) return "halloween";
31
+ if (m === 10 && d <= thanksgiving + 1) return "thanksgiving";
32
+ if (m === 11 && d <= 26) return "christmas";
33
+ return null;
34
+ };
35
+ var t = s.theme === "black" || s.theme === "white" ? s.theme : window.rugHoliday() || "black";
17
36
  document.documentElement.dataset.theme = t === "white" ? "light" : "dark";
18
- if (t === "halloween" || t === "christmas") document.documentElement.classList.add(t);
37
+ if (t !== "black" && t !== "white") document.documentElement.classList.add(t);
38
+ if (/^(newyear|valentines|stpatricks|easter|july4|thanksgiving)$/.test(t)) document.documentElement.classList.add("fest");
19
39
  if (s.tabTitle) document.title = s.tabTitle;
20
40
  if (s.tabIcon) document.getElementById("tab-icon").href = s.tabIcon;
21
41
  } catch (e) {}
@@ -103,7 +123,6 @@
103
123
  <input id="home-input" type="search" placeholder="Search 352 gamesโ€ฆ" autocomplete="off" spellcheck="false" aria-label="Search games">
104
124
  <span class="sweep" aria-hidden="true"></span>
105
125
  </form>
106
- <div class="home-apps" id="home-apps"></div>
107
126
  <p class="home-sub" id="home-sub"></p>
108
127
  <p class="online" id="online" hidden><span class="online-dot"></span><span id="online-count"></span></p>
109
128
  <!-- bottom-left corner: bookmark chip, latest version, what's new -->
@@ -274,11 +293,10 @@
274
293
  <div class="chat-log" id="chat-log" aria-live="polite"></div>
275
294
  <p class="chat-typing" id="chat-typing" aria-live="polite"></p>
276
295
  <p class="chat-status" id="chat-status" aria-live="polite"></p>
277
- <!-- Emoji / sticker picker, opened by ๐Ÿ˜Š -->
296
+ <!-- Emoji picker, opened by ๐Ÿ˜Š -->
278
297
  <div class="picker" id="picker" hidden>
279
- <div class="picker-tabs" id="picker-tabs" role="tablist" aria-label="Emoji and stickers"></div>
298
+ <div class="picker-tabs" id="picker-tabs" role="tablist" aria-label="Emoji"></div>
280
299
  <div class="picker-grid" id="picker-grid"></div>
281
- <p class="picker-credit">Stickers: Noto Emoji by Google, CC BY 4.0</p>
282
300
  </div>
283
301
  <!-- Poll maker, opened by ๐Ÿ“Š -->
284
302
  <form class="poll-maker" id="poll-maker" autocomplete="off" hidden>
@@ -292,13 +310,19 @@
292
310
  <form class="chat-form" id="chat-form" autocomplete="off" hidden>
293
311
  <input id="chat-name" class="chat-name" maxlength="40" placeholder="Nickname" spellcheck="false" aria-label="Nickname">
294
312
  <input id="chat-text" class="chat-text" maxlength="200" placeholder="Say somethingโ€ฆ (drop a photo here)" aria-label="Message">
295
- <button class="icon-btn" type="button" id="emoji-btn" title="Emoji and stickers" aria-label="Emoji and stickers" aria-expanded="false" aria-controls="picker">๐Ÿ˜Š</button>
296
- <button class="icon-btn" type="button" id="photo-btn" title="Send a photo from your computer" aria-label="Send a photo">๐Ÿ“ท</button>
297
- <button class="icon-btn" type="button" id="cam-btn" title="Take a photo with your camera" aria-label="Take a photo with your camera">๐Ÿ“ธ</button>
313
+ <button class="icon-btn" type="button" id="emoji-btn" title="Emoji" aria-label="Emoji" aria-expanded="false" aria-controls="picker">๐Ÿ˜Š</button>
314
+ <button class="icon-btn" type="button" id="photo-btn" title="Send a photo or video from your computer" aria-label="Send a photo or video">๐Ÿ“ท</button>
315
+ <button class="icon-btn" type="button" id="cam-btn" title="Take a photo or record a video" aria-label="Camera">๐Ÿ“ธ</button>
316
+ <button class="icon-btn" type="button" id="voice-btn" title="Record a voice note" aria-label="Record a voice note">๐ŸŽค</button>
298
317
  <button class="icon-btn" type="button" id="poll-btn" title="Make a poll" aria-label="Make a poll" aria-expanded="false" aria-controls="poll-maker">๐Ÿ“Š</button>
299
- <input type="file" id="photo-input" accept="image/*" hidden>
318
+ <input type="file" id="photo-input" accept="image/*,video/*" hidden>
300
319
  <button class="pill-btn" type="submit" id="chat-send">Send</button>
301
320
  </form>
321
+ <!-- shown while a voice note records -->
322
+ <div class="voice-bar" id="voice-bar" hidden>
323
+ <span class="voice-dot" aria-hidden="true"></span><span>Recording voice note</span><span class="voice-time" id="voice-time">0:00</span>
324
+ <button class="text-btn" type="button" id="voice-cancel">Cancel</button><button class="pill-btn" type="button" id="voice-send">Send</button>
325
+ </div>
302
326
  <p class="chat-note" id="chat-note" aria-live="polite"></p>
303
327
  <div class="drop-hint" aria-hidden="true">Drop to send photo</div>
304
328
  </div>
@@ -370,11 +394,9 @@
370
394
  <h2>Look &amp; feel</h2>
371
395
  <label class="set-row"><span>Theme</span>
372
396
  <select id="set-theme">
373
- <option value="auto">Auto (holidays)</option>
397
+ <option value="auto">Holiday (changes by itself)</option>
374
398
  <option value="black">Black</option>
375
399
  <option value="white">White</option>
376
- <option value="halloween">Halloween</option>
377
- <option value="christmas">Christmas</option>
378
400
  </select>
379
401
  </label>
380
402
  <label class="set-row"><span>Clock</span>
@@ -437,15 +459,16 @@
437
459
  </main>
438
460
 
439
461
  <!-- TAKE A PHOTO WITH YOUR CAMERA (sent to the chat like any photo) -->
440
- <div class="wheel-wrap" id="cam-wrap" hidden role="dialog" aria-label="Take a photo">
462
+ <div class="wheel-wrap" id="cam-wrap" hidden role="dialog" aria-label="Camera">
441
463
  <div class="wheel-card cam-card">
442
464
  <button class="wheel-x" type="button" id="cam-close" aria-label="Close">โœ•</button>
443
- <h2>Take a photo</h2>
444
- <div class="cam-view"><video id="cam-video" playsinline autoplay muted></video><canvas id="cam-shot" hidden></canvas></div>
465
+ <h2>Camera</h2>
466
+ <div class="cam-view"><video id="cam-video" playsinline autoplay muted></video><canvas id="cam-shot" hidden></canvas><video id="cam-clip" playsinline controls controlslist="nodownload" hidden></video></div>
445
467
  <p class="chat-note" id="cam-msg"></p>
446
468
  <div class="wheel-actions">
447
469
  <button class="pill-btn" type="button" id="cam-retake" hidden>โ†บ Retake</button>
448
470
  <button class="pill-btn play" type="button" id="cam-snap">๐Ÿ“ธ Take photo</button>
471
+ <button class="pill-btn" type="button" id="cam-rec">โ— Record video</button>
449
472
  <button class="pill-btn play" type="button" id="cam-send" hidden>Send to chat</button>
450
473
  </div>
451
474
  </div>
@@ -541,6 +564,7 @@
541
564
 
542
565
  <div class="toast" id="toast" role="status" aria-live="polite"></div>
543
566
 
567
+
544
568
  <!-- First-visit tour (also from Settings โ†’ Site tour) -->
545
569
  <div class="tour" id="tour" hidden>
546
570
  <div class="tour-spot" id="tour-spot"></div>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ywkrlerche/richardwho",
3
- "version": "1.0.39",
3
+ "version": "1.0.40",
4
4
  "description": "Richards Unblocked Games",
5
5
  "license": "UNLICENSED",
6
6
  "files": [
package/style.css CHANGED
@@ -289,7 +289,7 @@ body:has(#view-games:not([hidden])) .aurora { opacity: .7; }
289
289
  .chat-log:not(.admin) .chat-msg.flagged { display: none; }
290
290
  .chat-log.admin .chat-msg.flagged { outline: 1px dashed var(--danger); outline-offset: 3px; border-radius: 3px; }
291
291
  .chat-msg .msg-acts { white-space: nowrap; }
292
- .chat-sticker { display: block; width: 96px; height: 96px; margin: 4px 0 0; }
292
+ .chat-sticker { display: block; margin: 2px 0 0; font-size: 56px; line-height: 1.1; }
293
293
  .chat-photo-btn { display: block; padding: 0; margin: 6px 0 0; border: 0; background: none; cursor: zoom-in; border-radius: 6px; overflow: hidden; max-width: min(320px, 100%); }
294
294
  .chat-photo { display: block; max-width: 100%; max-height: 260px; width: auto; height: auto; border-radius: 6px; border: 1px solid var(--line); }
295
295
  .chat-status { margin: 0; padding: 0 16px; font-size: 12px; color: var(--muted); }
@@ -694,15 +694,6 @@ body.chat-full { overflow: hidden; }
694
694
  }
695
695
  body:has(#view-ai:not([hidden])) .corner-links { display: none; }
696
696
 
697
- /* ---------- Home: shortcut tiles for popular games ---------- */
698
- .home-apps { display: grid; grid-template-columns: repeat(6, 74px); gap: 8px; margin-top: 18px; }
699
- .home-app { display: flex; flex-direction: column; align-items: center; gap: 7px; height: 88px; padding: 11px 4px 6px; border: 1px solid var(--line); border-radius: 10px; background: color-mix(in srgb, var(--panel) 80%, transparent); color: var(--text); cursor: pointer; transition: transform .15s, border-color .15s, background .15s; }
700
- .home-app:hover, .home-app:focus-visible { transform: translateY(-2px); border-color: var(--line-2); background: color-mix(in srgb, var(--panel) 95%, var(--text) 5%); }
701
- .home-app-icon { display: grid; place-items: center; width: 34px; height: 34px; flex: none; overflow: hidden; border-radius: 8px; }
702
- .home-app-icon img { width: 100%; height: 100%; object-fit: cover; }
703
- .home-app-icon span { display: grid; place-items: center; width: 100%; height: 100%; color: #fff; font-size: 12px; font-weight: 800; }
704
- .home-app-name { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 11px; font-weight: 600; line-height: 1.2; text-align: center; }
705
- @media (max-width: 720px) { .home-apps { grid-template-columns: repeat(4, 74px); } }
706
697
 
707
698
  /* ---------- Halloween (October, dark theme): night sky, moon, webs, bats, graveyard ---------- */
708
699
  html.halloween[data-theme="dark"] {
@@ -733,8 +724,6 @@ html.halloween[data-theme="dark"] .rail-btn:hover { color: #fde9cc; background:
733
724
  html.halloween[data-theme="dark"] .rail-btn.active { background: #fb923c; color: #170c20; }
734
725
  html.halloween[data-theme="dark"] .rail-show { background: rgba(14, 8, 20, .94); border-color: rgba(253, 186, 116, .14); color: #fde9cc; }
735
726
  html.halloween[data-theme="dark"] .home-search { border-color: rgba(253, 186, 116, .25); background: rgba(24, 12, 30, .75); border-radius: 8px; }
736
- html.halloween[data-theme="dark"] .home-app { border-color: rgba(253, 186, 116, .16); background: rgba(24, 12, 30, .7); }
737
- html.halloween[data-theme="dark"] .home-app:hover { border-color: rgba(253, 186, 116, .4); }
738
727
  .spooky { position: fixed; inset: 0 0 0 var(--rail-w); z-index: -1; overflow: hidden; pointer-events: none; display: none; }
739
728
  html.halloween[data-theme="dark"] .spooky { display: block; }
740
729
  .spooky .stars { position: absolute; inset: 0; opacity: .4;
@@ -819,21 +808,12 @@ html.christmas[data-theme="dark"] .rail { background: rgba(8, 14, 26, .94); bord
819
808
  html.christmas[data-theme="dark"] .rail-btn:hover { color: #fff; background: rgba(239, 68, 68, .14); }
820
809
  html.christmas[data-theme="dark"] .rail-btn.active { background: #dc2626; color: #fff; }
821
810
  html.christmas[data-theme="dark"] .home-search { border-color: rgba(248, 250, 252, .18); background: rgba(10, 18, 32, .8); border-radius: 8px; }
822
- html.christmas[data-theme="dark"] .home-app { border-color: rgba(248, 250, 252, .1); background: rgba(10, 18, 32, .75); }
823
811
  .xmas { position: fixed; inset: 0 0 0 var(--rail-w); z-index: -1; overflow: hidden; pointer-events: none; display: none; }
824
812
  html.christmas[data-theme="dark"] .xmas { display: block; }
825
- .xmas .lights { position: absolute; top: 0; left: 0; right: 0; height: 30px; }
813
+ .xmas .lights { position: absolute; top: 62px; left: 0; right: 0; height: 30px; }
826
814
  .xmas .lights svg { position: absolute; inset: 0; width: 100%; height: 22px; fill: none; stroke: #1f2937; stroke-width: .5; }
827
815
  .xmas .lights i { position: absolute; width: 7px; height: 11px; margin-left: -3px; border-radius: 50% 50% 45% 45%; background: var(--c); box-shadow: 0 0 10px var(--c); animation: twinkle 2.2s ease-in-out infinite alternate; }
828
816
  @keyframes twinkle { from { opacity: .35; } to { opacity: 1; } }
829
- /* snow: a dotted layer twice the screen height slides down and loops (one transform, nothing redrawn) */
830
- .xmas .snow { position: absolute; left: 0; right: 0; top: -100%; height: 200%; animation: snowfall 22s linear infinite;
831
- background-image: radial-gradient(2px 2px at 20px 30px, #fff, transparent), radial-gradient(1.5px 1.5px at 120px 140px, #fff, transparent),
832
- radial-gradient(2.5px 2.5px at 230px 60px, #e2e8f0, transparent), radial-gradient(1.5px 1.5px at 300px 210px, #fff, transparent),
833
- radial-gradient(2px 2px at 70px 250px, #f1f5f9, transparent);
834
- background-size: 340px 280px; opacity: .55; }
835
- .xmas .snow.s2 { animation-duration: 34s; background-size: 220px 190px; opacity: .3; }
836
- @keyframes snowfall { to { transform: translateY(50%); } }
837
817
  .xmas .hills { position: absolute; left: 0; bottom: 0; width: 100%; height: 28vh; }
838
818
  .xmas .pines { fill: #0d2a1c; }
839
819
  .xmas .snowbank { fill: #cbd5e1; opacity: .16; }
@@ -841,11 +821,10 @@ html.christmas[data-theme="dark"] .xmas { display: block; }
841
821
  .xmas .gift { position: absolute; bottom: 10px; font-size: 34px; opacity: .85; }
842
822
  .xmas .gift.g1 { right: calc(10vw - 20px); }
843
823
  .xmas .gift.g2 { right: calc(10vw + 72px); font-size: 28px; }
844
- .xmas .snowman { position: absolute; bottom: 12px; left: max(300px, 24vw); font-size: 50px; opacity: .85; }
845
824
  @media (prefers-reduced-motion: reduce) { .xmas * { animation: none !important; } }
846
825
  @media (max-width: 720px) {
847
826
  .xmas { inset: 0 0 56px 0; }
848
- .xmas .gift.g2, .xmas .snowman { display: none; }
827
+ .xmas .gift.g2 { display: none; }
849
828
  .xmas .xmas-tree { font-size: 52px; right: 6vw; }
850
829
  }
851
830
 
@@ -983,3 +962,86 @@ html.christmas[data-theme="dark"] .xmas { display: block; }
983
962
  .tour-btns [hidden] { display: none; }
984
963
  .tour-btns .pill-btn { color: var(--bg); background: var(--text); border-color: var(--text); }
985
964
  @media (prefers-reduced-motion: reduce) { .tour-spot, .tour-card { transition: none; } }
965
+
966
+ /* ---------- Short screens (Chromebooks, small laptops): give the home page room to breathe ---------- */
967
+ @media (max-height: 760px) and (min-width: 721px) {
968
+ .home { justify-content: center; padding-top: 70px; padding-bottom: 110px; }
969
+ .wordmark { font-size: clamp(40px, 10vh, 78px); margin-bottom: 18px; }
970
+ .home-search { height: 46px; width: min(480px, 100%); }
971
+ .home-sub { margin-top: 14px; }
972
+ .quote-strip { padding: 8px 14px; font-size: 13px; }
973
+ /* scenery: smaller and fewer pieces so it stays in the background */
974
+ .spooky .moon { width: 78px; top: 12vh; right: 8vw; }
975
+ .spooky .ghost, .spooky .spider, .spooky .bat.b2 { display: none; }
976
+ .spooky .web { width: clamp(110px, 11vw, 160px); }
977
+ .spooky .graveyard, .xmas .hills { height: 20vh; }
978
+ .spooky .pumpkin { font-size: 38px; }
979
+ .spooky .pumpkin.p2 { font-size: 28px; left: calc(max(300px, 24vw) + 44px); }
980
+ .xmas .xmas-tree { font-size: 52px; }
981
+ .xmas .gift { font-size: 24px; }
982
+ .xmas .snowman { font-size: 34px; }
983
+ }
984
+
985
+ /* ---------- Chat videos and voice notes ---------- */
986
+ .chat-video { position: relative; display: grid; place-items: center; width: 220px; aspect-ratio: 16 / 10; margin: 4px 0 0; padding: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: #000; cursor: pointer; }
987
+ .chat-video img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .85; }
988
+ .chat-video-play { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(0, 0, 0, .65); color: #fff; font-size: 18px; }
989
+ .chat-video .chat-media-len { position: absolute; right: 6px; bottom: 6px; padding: 1px 6px; border-radius: 3px; background: rgba(0, 0, 0, .7); color: #fff; font-size: 11px; }
990
+ .chat-video-player { display: block; width: 260px; max-width: 100%; margin: 4px 0 0; border-radius: 8px; background: #000; }
991
+ .chat-voice { display: inline-flex; align-items: center; gap: 10px; margin: 4px 0 0; padding: 8px 14px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--soft); color: var(--text); font-size: 13px; font-weight: 600; cursor: pointer; }
992
+ .chat-voice .chat-media-len { color: var(--muted); font-variant-numeric: tabular-nums; }
993
+ .chat-voice-player { display: block; width: 260px; max-width: 100%; height: 36px; margin: 4px 0 0; }
994
+ .voice-bar { display: flex; align-items: center; gap: 10px; margin: 0 10px 8px; padding: 8px 12px; border: 1px solid var(--line-2); border-radius: 8px; background: var(--panel); font-size: 13px; }
995
+ .voice-bar[hidden] { display: none; }
996
+ .voice-dot { width: 10px; height: 10px; border-radius: 50%; background: #ef4444; animation: voice-blink 1s ease-in-out infinite alternate; }
997
+ @keyframes voice-blink { to { opacity: .3; } }
998
+ .voice-time { margin-right: auto; color: var(--muted); font-variant-numeric: tabular-nums; }
999
+ .voice-bar .pill-btn { color: var(--bg); background: var(--text); border-color: var(--text); }
1000
+ #cam-clip { width: 100%; border-radius: 6px; background: #000; }
1001
+ @media (prefers-reduced-motion: reduce) { .voice-dot { animation: none; } }
1002
+
1003
+
1004
+
1005
+ /* ---------- Snowman (Christmas decoration) ---------- */
1006
+ .xmas .snowman { position: absolute; bottom: 6px; right: calc(10vw + 150px); width: 70px; height: auto; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .35)); transform-origin: 50% 100%; animation: pal-sway 4s ease-in-out infinite alternate; }
1007
+ @keyframes pal-sway { from { transform: rotate(-2deg); } to { transform: rotate(2deg); } }
1008
+ @media (max-width: 720px) { .xmas .snowman { width: 52px; right: calc(6vw + 70px); } }
1009
+
1010
+ /* Falling snow, hearts, leavesโ€ฆ (drawn by app.js) */
1011
+ .fallers { position: fixed; top: 0; left: var(--rail-w); width: calc(100% - var(--rail-w)); height: 100%; z-index: -1; pointer-events: none; }
1012
+ .fallers[hidden] { display: none; }
1013
+
1014
+ /* ---------- More holiday themes: New Year's, Valentine's, St. Patrick's, Easter, Fourth of July, Thanksgiving ---------- */
1015
+ html.newyear { --f-bg: #0a0d1f; --f-bg2: #05060f; --f-a: #facc15; --f-b: #fde68a; --f-cream: #fef9e7; --f-glow1: rgba(250, 204, 21, .12); --f-glow2: rgba(99, 102, 241, .14); --f-on: #1a1405; --f-hill: #12162e; }
1016
+ html.valentines { --f-bg: #1f0a14; --f-bg2: #0f050a; --f-a: #f472b6; --f-b: #fb7185; --f-cream: #ffe4ef; --f-glow1: rgba(244, 114, 182, .16); --f-glow2: rgba(225, 29, 72, .12); --f-on: #2a0716; --f-hill: #2a0f1d; }
1017
+ html.stpatricks { --f-bg: #06170d; --f-bg2: #030b06; --f-a: #22c55e; --f-b: #facc15; --f-cream: #e7f8ec; --f-glow1: rgba(34, 197, 94, .15); --f-glow2: rgba(250, 204, 21, .08); --f-on: #04170a; --f-hill: #0b2414; }
1018
+ html.easter { --f-bg: #160f24; --f-bg2: #0b0814; --f-a: #c4b5fd; --f-b: #f9a8d4; --f-cream: #f5f0ff; --f-glow1: rgba(196, 181, 253, .15); --f-glow2: rgba(134, 239, 172, .1); --f-on: #1d1233; --f-hill: #1c2a1f; }
1019
+ html.july4 { --f-bg: #070b1f; --f-bg2: #03050f; --f-a: #ef4444; --f-b: #60a5fa; --f-cream: #f8fafc; --f-glow1: rgba(239, 68, 68, .13); --f-glow2: rgba(59, 130, 246, .15); --f-on: #fff; --f-hill: #0d1330; }
1020
+ html.thanksgiving { --f-bg: #1a0f06; --f-bg2: #0c0703; --f-a: #f59e0b; --f-b: #ea580c; --f-cream: #fdf1dc; --f-glow1: rgba(245, 158, 11, .13); --f-glow2: rgba(180, 83, 9, .12); --f-on: #1f1203; --f-hill: #24160a; }
1021
+ html.fest[data-theme="dark"] { --shine: var(--f-b); --glow-cyan: var(--f-a); }
1022
+ html.fest[data-theme="dark"] body { background: linear-gradient(180deg, var(--f-bg) 0%, var(--f-bg2) 100%) fixed; }
1023
+ html.fest[data-theme="dark"] .aurora { background: radial-gradient(45vw 26vh at 25vw 0, var(--f-glow1), transparent 70%), radial-gradient(45vw 26vh at 80vw 10vh, var(--f-glow2), transparent 70%); }
1024
+ html.fest[data-theme="dark"] .wordmark {
1025
+ background-image:
1026
+ radial-gradient(circle var(--spot, 0px) at var(--mx, 50%) var(--my, 50%), #fff, transparent 70%),
1027
+ linear-gradient(100deg, var(--f-cream) 0%, var(--f-cream) 40%, var(--f-a) 46%, #fff 50%, var(--f-b) 54%, var(--f-cream) 60%, var(--f-cream) 100%);
1028
+ filter: drop-shadow(0 0 26px color-mix(in srgb, var(--f-a) 25%, transparent));
1029
+ }
1030
+ html.fest[data-theme="dark"] .boot-word { background-image: linear-gradient(100deg, var(--f-cream) 0%, var(--f-cream) 40%, var(--f-a) 46%, #fff 50%, var(--f-b) 54%, var(--f-cream) 60%, var(--f-cream) 100%); }
1031
+ html.fest[data-theme="dark"] .boot { background: radial-gradient(60vw 30vh at 50% 30%, var(--f-glow1), transparent 70%), var(--f-bg); }
1032
+ html.fest[data-theme="dark"] .rail { background: color-mix(in srgb, var(--f-bg) 94%, transparent); border-color: color-mix(in srgb, var(--f-a) 12%, transparent); }
1033
+ html.fest[data-theme="dark"] .rail-btn:hover { color: #fff; background: color-mix(in srgb, var(--f-a) 15%, transparent); }
1034
+ html.fest[data-theme="dark"] .rail-btn.active { background: var(--f-a); color: var(--f-on); }
1035
+ html.fest[data-theme="dark"] .rail-show { background: color-mix(in srgb, var(--f-bg) 94%, transparent); }
1036
+ html.fest[data-theme="dark"] .home-search { border-color: color-mix(in srgb, var(--f-a) 28%, transparent); background: color-mix(in srgb, var(--f-bg) 80%, transparent); border-radius: 8px; }
1037
+ .festive { position: fixed; inset: 0 0 0 var(--rail-w); z-index: -1; overflow: hidden; pointer-events: none; display: none; }
1038
+ html.fest[data-theme="dark"] .festive { display: block; }
1039
+ .festive-hills { position: absolute; left: 0; bottom: 0; width: 100%; height: 22vh; fill: var(--f-hill); }
1040
+ .festive-prop { position: absolute; bottom: 10px; font-size: var(--s); opacity: .9; animation: prop-bob 3.2s ease-in-out infinite alternate; filter: drop-shadow(0 0 14px color-mix(in srgb, var(--f-a) 30%, transparent)); }
1041
+ @keyframes prop-bob { to { transform: translateY(-5px) rotate(-3deg); } }
1042
+ @media (prefers-reduced-motion: reduce) { .festive * { animation: none !important; } }
1043
+ @media (max-width: 720px) {
1044
+ .festive { inset: 0 0 56px 0; }
1045
+ .fallers { left: 0; width: 100%; height: calc(100% - 56px); }
1046
+ .festive-prop:nth-of-type(n+3) { display: none; }
1047
+ }