
:root {
  color-scheme: dark;
  --jd-ink: #fff;
  --jd-muted: rgba(255,255,255,.78);
  --jd-soft: rgba(255,255,255,.58);
  --jd-line: rgba(255,255,255,.24);
  --jd-glass: rgba(13,20,30,.30);
  --jd-shadow: 0 18px 64px rgba(0,0,0,.28);
}

* {
  box-sizing: border-box;
}

.jd-visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

html,
body {
  width: 100%;
  min-height: 100%;
  margin: 0;
}

html {
  background: #101820;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100svh;
  overflow-x: hidden;
  background: #101820;
  color: var(--jd-ink);
  font-family: Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
  -webkit-font-smoothing: antialiased;
}

.jd-app {
  position: relative;
  z-index: 2;
  isolation: isolate;
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 100svh;
  padding: clamp(18px,3.2vw,42px) clamp(18px,4.2vw,64px) calc(18px + env(safe-area-inset-bottom,0px));
  overflow: hidden;
}

.jd-backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: #17232a;
}

.jd-backdrop img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  filter: saturate(.94);
  transform: scale(1.015);
  transition: opacity .7s ease,transform 1.2s ease;
}

.jd-backdrop img.is-ready {
  opacity: 1;
  transform: scale(1);
}

.jd-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      180deg,
      rgba(4,10,15,.42) 0%,
      rgba(4,10,15,.10) 29%,
      rgba(4,10,15,.24) 52%,
      rgba(4,10,15,.65) 100%
    ),
    linear-gradient(
      90deg,
      rgba(4,10,15,.24),
      transparent 45%,
      rgba(4,10,15,.10)
    );
}

.jd-grain {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: .12;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.16'/%3E%3C/svg%3E");
}

.jd-topbar,
.jd-footer {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.jd-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--jd-ink);
  text-decoration: none;
  min-width: 0;
}

.jd-brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: none;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 12px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 6px 22px rgba(0,0,0,.18);
}

.jd-brand-mark img {
  display: block;
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.jd-brand-copy strong,
.jd-brand-copy small {
  display: block;
}

.jd-brand-copy strong {
  font-size: 13px;
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -.02em;
}

.jd-brand-copy small {
  margin-top: 3px;
  color: rgba(255,255,255,.72);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.jd-portfolio-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 40px;
  padding: 0 15px;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 999px;
  background: rgba(11,18,25,.24);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: #fff;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  transition: background .18s ease,border-color .18s ease,transform .18s ease;
}

.jd-portfolio-link:hover {
  background: rgba(255,255,255,.16);
  border-color: rgba(255,255,255,.58);
  transform: translateY(-1px);
}

.jd-portfolio-link svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.jd-main {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: min(100%,1000px);
  margin: 0 auto;
  padding: 36px 0 40px;
  text-align: center;
}

.jd-date {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 17px;
  color: rgba(255,255,255,.86);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .19em;
  text-transform: uppercase;
  text-shadow: 0 1px 12px rgba(0,0,0,.35);
}

.jd-date::before,
.jd-date::after {
  content: "";
  width: 22px;
  height: 1px;
  background: rgba(255,255,255,.54);
}

.jd-clock {
  font-size: clamp(64px,10.5vw,132px);
  font-weight: 300;
  line-height: .96;
  letter-spacing: -.075em;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 4px 38px rgba(0,0,0,.24);
}

.jd-greeting {
  margin-top: 17px;
  color: rgba(255,255,255,.96);
  font-size: clamp(18px,2.2vw,25px);
  font-weight: 500;
  letter-spacing: -.025em;
  text-shadow: 0 2px 16px rgba(0,0,0,.3);
}

.jd-quote-wrap {
  width: min(100%,790px);
  margin-top: clamp(34px,6vh,64px);
}

.jd-quote-kicker {
  display: inline-block;
  margin-bottom: 17px;
  color: rgba(255,255,255,.8);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
  text-shadow: 0 1px 10px rgba(0,0,0,.35);
}

.jd-quote {
  margin: 0;
  color: #fff;
  font-family: Georgia,"Times New Roman",serif;
  font-size: clamp(27px,4.1vw,48px);
  font-weight: 400;
  line-height: 1.19;
  letter-spacing: -.035em;
  text-wrap: balance;
  text-shadow: 0 3px 28px rgba(0,0,0,.35);
}

.jd-quote-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin-top: 18px;
}

.jd-quote-credit {
  margin: 0;
  color: rgba(255,255,255,.76);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.jd-footer {
  align-items: flex-end;
  color: rgba(255,255,255,.78);
  font-size: 10px;
  letter-spacing: .04em;
}

.jd-footer-note {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.jd-footer-note strong {
  color: #fff;
  font-size: 10px;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.jd-photo-credit {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 0;
  border: 0;
  background: none;
  color: rgba(255,255,255,.84);
  font: inherit;
  font-size: 10px;
  cursor: pointer;
  text-decoration: underline;
  text-decoration-color: rgba(255,255,255,.42);
  text-underline-offset: 4px;
}

.jd-photo-credit:hover {
  color: #fff;
  text-decoration-color: #fff;
}

.jd-photo-credit svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.jd-tagline {
  white-space: nowrap;
  font-weight: 750;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.jd-credit-dialog {
  width: min(480px,calc(100vw - 32px));
  max-height: min(78svh,620px);
  padding: 0;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 20px;
  background: rgba(14,21,29,.94);
  color: #fff;
  box-shadow: 0 24px 90px rgba(0,0,0,.55);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  overflow: hidden;
}

.jd-credit-dialog::backdrop {
  background: rgba(2,8,13,.58);
  backdrop-filter: blur(5px);
}

.jd-dialog-inner {
  padding: 24px;
  max-height: min(78svh,620px);
  overflow-y: auto;
  overflow-x: hidden;
  overflow-wrap: anywhere;
}

.jd-dialog-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.jd-dialog-heading h2 {
  margin: 0;
  font-size: 19px;
  letter-spacing: -.03em;
}

.jd-dialog-heading p {
  margin: 7px 0 0;
  color: rgba(255,255,255,.68);
  font-size: 12px;
  line-height: 1.6;
}

.jd-dialog-close {
  width: 34px;
  height: 34px;
  flex: none;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  color: #fff;
  font-size: 20px;
  cursor: pointer;
}

.jd-credit-content {
  min-width: 0;
  margin-top: 20px;
  padding-top: 17px;
  border-top: 1px solid rgba(255,255,255,.14);
  overflow-wrap: anywhere;
}

.jd-credit-content strong {
  display: block;
  font-size: 13px;
}

.jd-credit-content p {
  margin: 7px 0;
  color: rgba(255,255,255,.72);
  font-size: 12px;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.jd-credit-content a {
  color: #b7d7ff;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}

.jd-license-note {
  margin-top: 17px;
  padding: 11px 12px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 11px;
  background: rgba(255,255,255,.05);
  color: rgba(255,255,255,.72);
  font-size: 11px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.jd-credit-list {
  max-height: 280px;
  overflow: auto;
  display: grid;
  gap: 12px;
  margin-top: 15px;
  padding-right: 5px;
}

.jd-credit-item {
  min-width: 0;
  padding-bottom: 11px;
  border-bottom: 1px solid rgba(255,255,255,.1);
  overflow-wrap: anywhere;
}

.jd-credit-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.jd-credit-item a {
  color: #fff;
  font-size: 12px;
  font-weight: 750;
  overflow-wrap: anywhere;
}

.jd-credit-item small {
  display: block;
  margin-top: 4px;
  color: rgba(255,255,255,.62);
  font-size: 10px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.jd-noscript {
  position: relative;
  z-index: 2;
  margin: 16px auto;
  padding: 12px 15px;
  max-width: 560px;
  border-radius: 12px;
  background: rgba(0,0,0,.5);
  color: #fff;
  text-align: center;
  font-size: 13px;
}

:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 4px;
}

                                                            
                
                                                               

@media(max-width:700px) {
  .jd-app {
    padding: calc(15px + env(safe-area-inset-top,0px)) 18px calc(16px + env(safe-area-inset-bottom,0px));
    min-height: 100svh;
    overflow: visible;
  }

  .jd-topbar {
    gap: 10px;
  }

  .jd-brand-mark {
    width: 34px;
    height: 34px;
    border-radius: 11px;
  }

  .jd-brand-mark img {
    width: 27px;
    height: 27px;
  }

  .jd-brand-copy strong {
    font-size: 12px;
  }

  .jd-brand-copy small {
    font-size: 8px;
    letter-spacing: .12em;
  }

  .jd-portfolio-link {
    min-height: 36px;
    padding: 0 11px;
    font-size: 11px;
    gap: 6px;
  }

  .jd-main {
    padding: 50px 0 58px;
    min-height: calc(100svh - 125px);
  }

  .jd-date {
    font-size: 9px;
    letter-spacing: .15em;
    margin-bottom: 18px;
  }

  .jd-date::before,
  .jd-date::after {
    width: 15px;
  }

  .jd-clock {
    font-size: clamp(62px,16vw,94px);
  }

  .jd-greeting {
    margin-top: 13px;
    font-size: 19px;
  }

  .jd-quote-wrap {
    margin-top: 46px;
  }

  .jd-quote-kicker {
    font-size: 9px;
    margin-bottom: 13px;
  }

  .jd-quote {
    font-size: clamp(26px,7.4vw,36px);
    line-height: 1.2;
  }

  .jd-quote-meta {
    margin-top: 15px;
    gap: 9px 12px;
  }

  .jd-quote-credit {
    font-size: 9px;
  }

                                                            
  .jd-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 8px;
    min-width: 0;
    font-size: 9px;
  }

  .jd-footer-note {
    flex: 1 1 auto;
    min-width: 0;
  }

  .jd-footer-note strong {
    font-size: 9px;
  }

  .jd-photo-credit {
    max-width: 100%;
    min-width: 0;
    text-align: left;
  }

  .jd-tagline {
    flex: 0 0 auto;
    margin-left: auto;
    align-self: center;
    white-space: nowrap;
    font-size: clamp(7px,1.9vw,8px);
    letter-spacing: .12em;
  }

  .jd-dialog-inner {
    padding: 20px;
  }
}

@media (max-width:390px) {
  .jd-app {
    padding-inline: 14px;
  }

  .jd-brand-copy small {
    letter-spacing: .08em;
  }

  .jd-portfolio-link {
    padding: 0 9px;
    font-size: 10px;
  }

  .jd-main {
    padding-top: 39px;
  }

  .jd-quote-wrap {
    margin-top: 39px;
  }

                                              
  .jd-footer {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 6px;
  }

  .jd-footer-note {
    flex: 1 1 auto;
    min-width: 0;
  }

  .jd-tagline {
    grid-column: auto;
    flex: 0 0 auto;
    margin: 0 0 0 auto;
    font-size: 7px;
    letter-spacing: .10em;
    white-space: nowrap;
  }
}

                                                            
                        
                                                               

@media (max-height:680px) and (min-width:701px) {
  .jd-main {
    padding: 16px 0 20px;
  }

  .jd-quote-wrap {
    margin-top: 28px;
  }

  .jd-quote {
    font-size: clamp(25px,3vw,38px);
  }

  .jd-date {
    margin-bottom: 10px;
  }

  .jd-greeting {
    margin-top: 8px;
  }
}

                                                            
                
                                                               

@media(prefers-reduced-motion:reduce) {
  .jd-backdrop img,
  .jd-portfolio-link {
    transition: none !important;
  }
}

.jd-license-link {
  display: inline-block;
  margin-top: 4px;
  font-size: 11px;
  color: var(--jd-accent,#d9c38c);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.jd-current-credit-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.jd-current-credit-links [hidden] {
  display: none !important;
}

                                                            
                                                
                                                               

.jd-main {
  transition: background .35s ease;
  border-radius: 48%;
}

                        
.jd-app.jd-scene-bright .jd-main {
  background: radial-gradient(
    ellipse at center,
    rgba(4,10,16,.40) 0%,
    rgba(4,10,16,.25) 43%,
    rgba(4,10,16,.10) 66%,
    transparent 78%
  );
}

.jd-app.jd-scene-bright .jd-clock,
.jd-app.jd-scene-bright .jd-greeting,
.jd-app.jd-scene-bright .jd-date,
.jd-app.jd-scene-bright .jd-quote,
.jd-app.jd-scene-bright .jd-quote-kicker,
.jd-app.jd-scene-bright .jd-quote-credit {
  text-shadow: 0 2px 22px rgba(0,0,0,.68);
}

                               
.jd-app.jd-scene-busy .jd-main {
  background: radial-gradient(
    ellipse at center,
    rgba(3,9,15,.44) 0%,
    rgba(3,9,15,.29) 48%,
    rgba(3,9,15,.12) 68%,
    transparent 82%
  );
}

                                 
.jd-app.jd-scene-bright.jd-scene-busy .jd-main {
  background: radial-gradient(
    ellipse at center,
    rgba(3,8,14,.52) 0%,
    rgba(3,8,14,.34) 48%,
    rgba(3,8,14,.14) 70%,
    transparent 84%
  );
}

                                                      
.jd-app.jd-scene-protected .jd-main {
  background: radial-gradient(
    ellipse at center,
    rgba(4,10,16,.34) 0%,
    rgba(4,10,16,.20) 52%,
    transparent 80%
  );
}

                                      
.jd-app.jd-scene-busy .jd-quote,
.jd-app.jd-scene-protected .jd-quote {
  text-shadow: 0 3px 30px rgba(0,0,0,.62);
}

                          
@media(max-width:700px) and (max-height:760px) {
  .jd-main {
    padding-top: clamp(22px,4svh,38px);
    padding-bottom: clamp(22px,4svh,38px);
  }

  .jd-quote-wrap {
    margin-top: clamp(22px,4svh,36px);
  }

  .jd-quote {
    font-size: clamp(23px,6.5vw,33px);
    line-height: 1.17;
  }
}

@media(prefers-reduced-motion:reduce) {
  .jd-main {
    transition: none !important;
  }
}

                                                            
                                                  
                                                                                                        
                                                                                                         
                                                                                                                                
                                                                                               
                                                               
.jd-main { border-radius: 0; transition: none; }
.jd-app.jd-scene-bright .jd-main,
.jd-app.jd-scene-busy .jd-main,
.jd-app.jd-scene-bright.jd-scene-busy .jd-main,
.jd-app.jd-scene-protected .jd-main { background: none; }

.jd-main::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0;
  transition: opacity .35s ease;
  background: radial-gradient(
    ellipse closest-side at center,
    rgba(4,10,16,.52) 0%,
    rgba(4,10,16,.40) 55%,
    rgba(4,10,16,.20) 85%,
    rgba(4,10,16,0) 100%
  );
}
.jd-app.jd-scene-protected .jd-main::before { opacity: .65; }
.jd-app.jd-scene-bright .jd-main::before { opacity: .77; }
.jd-app.jd-scene-busy .jd-main::before { opacity: .85; }
.jd-app.jd-scene-bright.jd-scene-busy .jd-main::before { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .jd-main::before { transition: none; } }

                                                            
                         
                                                                  
                                                                     
                                                               
.jd-footer { text-shadow: 0 1px 10px rgba(0,0,0,.65); }
.jd-footer-note strong { display: block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.jd-tagline { color: rgba(255,255,255,.9); line-height: 1.3; }

                                                              
.jd-app::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: min(190px,28svh); z-index: 0; pointer-events: none; background: linear-gradient(to top, rgba(3,8,14,.58), rgba(3,8,14,0)); }

@media (max-width:1100px) {
  .jd-footer { display: grid; grid-template-columns: minmax(0,1fr) auto; grid-template-areas: "title title" "credit tag"; align-items: center; column-gap: 12px; row-gap: 0; }
  .jd-footer-note { display: contents; }
  .jd-footer-note strong { grid-area: title; min-width: 0; }
  .jd-photo-credit { grid-area: credit; justify-self: start; min-height: 44px; padding: 0; }
  .jd-tagline { grid-area: tag; justify-self: end; align-self: center; margin: 0; }
}
@media (min-width:701px) and (max-width:1100px) {
  .jd-footer-note strong { font-size: 11px; letter-spacing: .12em; }
  .jd-photo-credit { font-size: 11px; }
  .jd-tagline { font-size: 10px; letter-spacing: .16em; }
}
@media (max-width:700px) {
  .jd-footer-note strong { font-size: 12px; font-weight: 650; letter-spacing: .01em; text-transform: none; }
  .jd-photo-credit { font-size: 11px; }
  .jd-tagline { font-size: 9px; letter-spacing: .12em; }
}
@media (max-width:390px) {
  .jd-photo-credit { font-size: 10.5px; }
  .jd-tagline { font-size: 8px; letter-spacing: .1em; }
}
@media (max-width:700px) { .jd-photo-credit { min-height: 40px; } }

                                                                       
                                                                        
@media (min-width:1101px) {
  .jd-tagline { margin-bottom: 6px; }
}

                                                            
                                                                 
                                                               
:root { --jd-btn: 36px; }
@media (max-width:1100px) { :root { --jd-btn: 40px; } }

.jd-photo-credit { min-height: var(--jd-btn); }
.jd-tagline { display: flex; align-items: center; min-height: var(--jd-btn); margin-bottom: 0; }
.jd-actions { display: flex; flex: none; align-items: center; gap: 8px; }
@media (min-width:1101px) { .jd-tagline { margin-left: auto; } .jd-actions { margin-left: 6px; } }
@media (max-width:1100px) {
  .jd-footer { grid-template-columns: minmax(0,1fr) auto auto; grid-template-areas: "title title title" "credit tag actions"; }
  .jd-actions { grid-area: actions; justify-self: end; }
}
@media (max-width:700px) {
  .jd-footer { grid-template-columns: minmax(0,1fr) auto; grid-template-areas: "title title" "credit actions"; }
  .jd-tagline { display: none; }
  .jd-actions { gap: 6px; }
}

@media (max-width:390px) {
  :root { --jd-btn: 36px; }
  .jd-actions { gap: 5px; }
}

.jd-icon-btn { display: grid; place-items: center; width: var(--jd-btn); height: var(--jd-btn); padding: 0; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; background: rgba(11,18,25,.34); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); color: #fff; cursor: pointer; transition: background .18s ease, border-color .18s ease, color .18s ease; }
.jd-icon-btn:hover { background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.6); }
.jd-icon-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.jd-icon-btn.jd-on { color: #ff9fb0; border-color: rgba(255,159,176,.65); }
.jd-icon-btn.jd-on svg { fill: currentColor; animation: jd-pop .32s cubic-bezier(.2,.8,.2,1); }
@keyframes jd-pop { 0% { transform: scale(.7); } 60% { transform: scale(1.22); } 100% { transform: scale(1); } }

.jd-top-right { display: flex; align-items: center; gap: 10px; }
.jd-saved-pill { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 13px; border: 1px solid rgba(255,159,176,.5); border-radius: 999px; background: rgba(11,18,25,.3); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); color: #fff; font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; }
.jd-saved-pill[hidden] { display: none; }
.jd-saved-pill svg { width: 15px; height: 15px; fill: #ff9fb0; stroke: #ff9fb0; stroke-width: 1.6; stroke-linejoin: round; }
@media (max-width:520px) {
  .jd-saved-pill { min-height: 36px; padding: 0 10px; font-size: 11px; }
  .jd-top-right { gap: 6px; }
  .jd-topbar.jd-has-saved .jd-brand-copy small { display: none; }
}

.jd-toast { position: fixed; left: 50%; bottom: calc(86px + env(safe-area-inset-bottom,0px)); z-index: 5; max-width: calc(100vw - 36px); margin: 0; padding: 9px 15px; border-radius: 999px; background: rgba(11,18,25,.86); color: #fff; font-size: 12px; text-align: center; transform: translateX(-50%); }
.jd-toast:empty { display: none; }

.jd-saved-dialog { width: min(480px,calc(100vw - 28px)); max-height: min(78svh,640px); padding: 0; border: 1px solid rgba(255,255,255,.2); border-radius: 20px; background: rgba(11,18,25,.94); color: #fff; color-scheme: dark; overflow: hidden; }
.jd-saved-dialog[open] { display: flex; flex-direction: column; }
.jd-saved-dialog::backdrop { background: rgba(3,8,14,.62); }
.jd-saved-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid rgba(255,255,255,.12); }
.jd-saved-head h2 { margin: 0; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.jd-saved-close { width: 36px; height: 36px; border: 0; border-radius: 50%; background: none; color: #fff; font-size: 22px; line-height: 1; cursor: pointer; }
.jd-saved-close:hover { background: rgba(255,255,255,.14); }
.jd-saved-list { margin: 0; padding: 4px 18px 10px; list-style: none; overflow-y: auto; }
.jd-saved-item { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.jd-saved-item:last-child { border-bottom: 0; }
.jd-saved-quote { margin: 0 0 8px; font-family: Georgia,"Times New Roman",serif; font-size: 19px; line-height: 1.35; }
.jd-saved-meta { display: flex; align-items: center; gap: 4px; font-size: 11px; color: rgba(255,255,255,.7); }
.jd-saved-meta span { flex: 1; }
.jd-saved-btn { min-height: 36px; padding: 0 12px; border: 0; border-radius: 999px; background: none; color: #fff; font: inherit; font-size: 12px; font-weight: 650; cursor: pointer; }
.jd-saved-btn:hover { background: rgba(255,255,255,.14); }
.jd-saved-empty { margin: 0; padding: 22px 18px 26px; color: rgba(255,255,255,.8); font-size: 13px; line-height: 1.6; }
.jd-saved-empty[hidden] { display: none; }
@media (prefers-reduced-motion:reduce) { .jd-icon-btn, .jd-icon-btn.jd-on svg, .jd-copy-quote { transition: none !important; animation: none !important; } }

                        
.jd-save-menu { position: absolute; right: 0; bottom: calc(100% + 12px); z-index: 4; width: min(264px,calc(100vw - 36px)); padding: 12px; border: 1px solid rgba(255,255,255,.2); border-radius: 16px; background: rgba(11,18,25,.9); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); color: #fff; text-align: left; }
.jd-save-menu[hidden] { display: none; }
.jd-save-menu-title { margin: 2px 4px 8px; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.75); }
.jd-save-opt { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; width: 100%; min-height: 48px; margin: 0 0 6px; padding: 9px 12px; border: 1px solid rgba(255,255,255,.18); border-radius: 12px; background: rgba(255,255,255,.06); color: #fff; font: inherit; text-align: left; cursor: pointer; }
.jd-save-opt:hover:not(:disabled) { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.45); }
.jd-save-opt:disabled { opacity: .5; cursor: progress; }
.jd-save-opt strong { font-size: 13px; }
.jd-save-opt span { font-size: 11px; color: rgba(255,255,255,.7); }
.jd-save-status { margin: 4px 4px 0; min-height: 1.3em; font-size: 11.5px; color: rgba(255,255,255,.85); }

.jd-save-menu-sub { margin: 10px 4px 6px; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.6); }


                                                                                          
.jd-backdrop { overflow: hidden; }
.jd-backdrop .jd-water-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
  transition: opacity .65s ease;
}
.jd-backdrop.jd-water-ready .jd-water-canvas { opacity: 1; }
.jd-backdrop.jd-water-ready img.is-ready { opacity: 0; }
@media (prefers-reduced-motion: reduce) {
  .jd-backdrop .jd-water-canvas { display: none !important; }
  .jd-backdrop img { opacity: 1; transform: none; }
}


                                                            
                                                 
                                                                 
                                                                
                                                               
html,
body {
  width: 100%;
  height: 100%;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  overscroll-behavior: none;
}

body {
  position: fixed;
  inset: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  -webkit-overflow-scrolling: auto;
}

.jd-app {
  height: 100%;
  min-height: 0;
  grid-template-rows: auto minmax(0, 1fr) auto;
  overflow: hidden;
  overscroll-behavior: none;
}

.jd-main {
  min-height: 0;
  min-width: 0;
  padding-block: clamp(16px, 3svh, 36px);
}

                                                                         
                                                     
.jd-app {
  touch-action: pinch-zoom;
}

                                                                          
.jd-credit-dialog,
.jd-saved-dialog {
  overscroll-behavior: contain;
  touch-action: pan-y pinch-zoom;
}

.jd-dialog-inner,
.jd-credit-list,
.jd-saved-list {
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  touch-action: pan-y pinch-zoom;
}

@media (max-width: 1100px) {
  .jd-app {
    padding-top: calc(12px + env(safe-area-inset-top, 0px));
    padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  }

  .jd-main {
    padding-block: clamp(12px, 2.8svh, 30px);
  }
}

@media (max-width: 700px) {
  .jd-app {
    min-height: 0;
    padding: calc(10px + env(safe-area-inset-top, 0px)) 16px calc(10px + env(safe-area-inset-bottom, 0px));
    overflow: hidden;
  }

  .jd-main {
    min-height: 0;
    padding: clamp(10px, 2.2svh, 24px) 0;
    justify-content: center;
  }

  .jd-date {
    margin-top: 0;
    margin-bottom: clamp(8px, 1.6svh, 15px);
  }

  .jd-clock {
    font-size: clamp(52px, 15vw, 88px);
    line-height: .94;
  }

  .jd-greeting {
    margin-top: clamp(7px, 1.5svh, 12px);
    font-size: clamp(16px, 4.8vw, 19px);
  }

  .jd-quote-wrap {
    margin-top: clamp(18px, 3.6svh, 36px);
  }

  .jd-quote-kicker {
    margin-bottom: clamp(8px, 1.4svh, 13px);
  }

  .jd-quote {
    font-size: clamp(22px, 6.6vw, 35px);
    line-height: 1.15;
  }

  .jd-quote-meta {
    margin-top: clamp(8px, 1.5svh, 14px);
  }

  .jd-footer {
    min-height: var(--jd-btn, 36px);
    flex-shrink: 0;
  }
}

                                                                                 
@media (max-height: 760px) and (max-width: 1100px) {
  .jd-app {
    padding-top: calc(8px + env(safe-area-inset-top, 0px));
    padding-bottom: calc(8px + env(safe-area-inset-bottom, 0px));
  }

  .jd-main {
    padding-block: 8px;
  }

  .jd-quote-wrap {
    margin-top: clamp(14px, 2.5svh, 22px);
  }

  .jd-quote {
    font-size: clamp(21px, 5.8vw, 32px);
    line-height: 1.12;
  }

  .jd-clock {
    font-size: clamp(50px, 13vw, 78px);
  }
}


                                                                                         
.jd-share-dialog {
  width: min(440px, calc(100vw - 28px));
  max-height: min(82svh, 620px);
  padding: 0;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 22px;
  background: rgba(11,18,25,.96);
  color: #fff;
  color-scheme: dark;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,.4);
}
.jd-share-dialog[open] { display: block; }
.jd-share-dialog::backdrop { background: rgba(3,8,14,.66); backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); }
.jd-share-inner { padding: 20px; }
.jd-share-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.jd-share-heading h2 { margin: 0; font-size: 15px; letter-spacing: .02em; }
.jd-share-heading p { margin: 6px 0 0; color: rgba(255,255,255,.68); font-size: 12px; line-height: 1.5; }
.jd-share-close { width: 34px; height: 34px; flex: none; border: 0; border-radius: 50%; background: rgba(255,255,255,.08); color: #fff; font-size: 22px; line-height: 1; cursor: pointer; }
.jd-share-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 9px; margin-top: 20px; }
.jd-share-option { display: flex; min-height: 76px; flex-direction: column; align-items: center; justify-content: center; gap: 7px; border: 1px solid rgba(255,255,255,.14); border-radius: 14px; background: rgba(255,255,255,.06); color: #fff; text-decoration: none; }
.jd-share-option:hover { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.34); }
.jd-share-option .jd-share-icon-badge { display: grid; width: 36px; height: 36px; flex: none; place-items: center; border-radius: 50%; color: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.16); }
.jd-share-option .jd-share-glyph { display: block; width: 20px; height: 20px; fill: currentColor; }
.jd-share-option .jd-share-icon-whatsapp { background: #25D366; }
.jd-share-option .jd-share-icon-telegram { background: #229ED9; }
.jd-share-option .jd-share-icon-facebook { background: #0866FF; }
.jd-share-option .jd-share-icon-x { background: #000; }
.jd-share-option .jd-share-icon-email { background: #64748B; }
.jd-share-option strong { font-size: 11px; }
.jd-share-copy { width: 100%; min-height: 44px; margin-top: 15px; border: 1px solid rgba(255,255,255,.24); border-radius: 999px; background: #fff; color: #101820; font: inherit; font-size: 12px; font-weight: 800; cursor: pointer; }
.jd-share-status { min-height: 1.4em; margin: 10px 2px 0; color: rgba(255,255,255,.72); font-size: 11px; line-height: 1.5; }
@media (max-width: 390px) { .jd-share-inner { padding: 17px; } .jd-share-grid { gap: 7px; } .jd-share-option { min-height: 70px; } }

                                                                                         
body,
body * {
  -webkit-user-select: none !important;
  -moz-user-select: none !important;
  -ms-user-select: none !important;
  user-select: none !important;
}

                                                                                                
body .jd-copy-buffer {
  -webkit-user-select: text !important;
  -moz-user-select: text !important;
  -ms-user-select: text !important;
  user-select: text !important;
}

                                             
.jd-icon-btn[hidden] { display: none; }
.jd-icon-btn.jd-aqua-on { color: #9fe8ec; border-color: rgba(159,232,236,.7); background: rgba(20,70,80,.5); }
.jd-icon-btn.jd-aqua-on svg { fill: rgba(159,232,236,.25); }
.jd-icon-btn.jd-aqua-reef { color: #ffc9a3; border-color: rgba(255,190,150,.7); background: rgba(90,45,35,.5); }
.jd-icon-btn.jd-aqua-reef svg { fill: rgba(255,190,150,.25); }
.jd-aqua-opt[aria-pressed="true"] { border-color: rgba(159,232,236,.75); background: rgba(159,232,236,.14); }
.jd-aqua-opt[data-mode="reef"][aria-pressed="true"] { border-color: rgba(255,190,150,.8); background: rgba(255,190,150,.14); }
.jd-aqua-opt[aria-pressed="true"] strong::after { content: " \2713"; }
.jd-aqua-opt:focus-visible, #jdAquarium:focus-visible { outline: 2px solid #9fe8ec; outline-offset: 2px; }
.jd-aqua-hint { position: fixed; left: 50%; bottom: calc(132px + env(safe-area-inset-bottom,0px)); z-index: 5; max-width: calc(100vw - 36px); margin: 0; padding: 9px 15px; border-radius: 999px; background: rgba(11,18,25,.86); color: #fff; font-size: 12px; text-align: center; transform: translate(-50%, 8px); opacity: 0; pointer-events: none; transition: opacity .35s ease, transform .35s ease; }
.jd-aqua-hint.jd-show { opacity: 1; transform: translate(-50%, 0); }
.jd-aqua-hint:empty { display: none; }
@media (prefers-reduced-motion:reduce) { .jd-aqua-hint { transition: none; } }
