/* Graha Dasha, Disha and Gochar (15.0.46): the card on Today and the full page over the whole screen (assets/ddg.js) */
.ddg-card .ddg-c1,.ddg-card .ddg-c2{margin:4px 0 0;font-size:15px;line-height:1.5;color:#E9E4FF}
.ddg-card .ddg-c2{color:#B9B4D6}
.ddg-card .ddg-c1 .p15-b{font-size:12.5px;padding:1px 8px;vertical-align:1px}

html.ddg-on,html.ddg-on body{overflow:hidden}
.ddg{--ddg-g:#6FD39A;--ddg-s:#A6D6FF;--ddg-s2:#3D4680;--ddg-c:#F3B8E4;--ddg-line:#2C2862;--ddg-panel:#1D1A4A;--ddg-tx:#F4EEDF;--ddg-tx2:#B9B4D6;--ddg-gold:#F3C96B;
  position:fixed;inset:0;z-index:9500;display:flex;flex-direction:column;background:#14123A;color:var(--ddg-tx);padding-top:env(safe-area-inset-top,0px);font-family:var(--f-text,"IBM Plex Sans",system-ui,sans-serif)}
.ddg-bar{flex:none;display:flex;align-items:center;gap:14px;min-height:58px;box-sizing:border-box;padding:8px max(16px,env(safe-area-inset-right,0px)) 8px max(16px,env(safe-area-inset-left,0px));background:#0a0f35;border-bottom:1px solid rgba(242,196,109,.35)}
.ddg-bt{flex:none;max-width:34%;font:400 20px/1.2 var(--f-display,Georgia,serif);color:var(--ddg-gold);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ddg-nav{flex:1;display:flex;justify-content:center;gap:4px;min-width:0}
.ddg-nav button{min-height:44px;padding:0 12px;border:0;border-bottom:2px solid transparent;background:none;color:var(--ddg-tx2);font:500 14px var(--f-text,system-ui);cursor:pointer}
.ddg-nav button.on{color:#fff;border-bottom-color:var(--ddg-gold)}
.ddg-x{flex:none;margin-left:auto;min-height:44px;padding:0 16px;border:1px solid #f2c46d;border-radius:3px;background:transparent;color:#ffe3a3;font:600 15px/1 var(--f-text,system-ui);cursor:pointer}
.ddg-x:hover,.ddg-x:focus-visible{background:rgba(242,196,109,.15)}
.ddg-sc{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain}
.ddg-in{max-width:1240px;margin:0 auto;padding:22px max(16px,env(safe-area-inset-right,0px)) 64px max(16px,env(safe-area-inset-left,0px));box-sizing:border-box}
.ddg-wait{color:var(--ddg-tx2);padding:40px 0}
.ddg-k{margin:0 0 6px;font:500 11.5px var(--mono,"IBM Plex Mono",monospace);letter-spacing:.14em;text-transform:uppercase;color:var(--ddg-gold)}
.ddg-h1{margin:2px 0 4px;font:400 34px/1.15 var(--f-display,Georgia,serif);color:#fff;text-wrap:balance}
.ddg-mut{color:var(--ddg-tx2);margin:4px 0 0;font-size:14px;line-height:1.5}
.ddg-beat{margin-top:34px;scroll-margin-top:8px}
.ddg-bh{display:flex;align-items:center;gap:10px;margin:0 0 14px;font:400 24px/1.2 var(--f-display,Georgia,serif);color:#fff}
.ddg-bh span{font:600 12px var(--mono,monospace);color:#14123A;background:var(--ddg-gold);border-radius:3px;padding:2px 7px}
.ddg-now{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.3fr);gap:14px}
.ddg-tile{background:var(--ddg-panel);border:1px solid var(--ddg-line);border-radius:3px;padding:16px 18px;min-width:0}
.ddg-chl{margin:4px 0 0;font-size:16px}
.ddg-big{margin:2px 0 6px}.ddg-n{font:400 40px/1 var(--f-display,Georgia,serif);vertical-align:-4px}.ddg-tg{color:var(--ddg-g)}.ddg-ts{color:var(--ddg-s)}.ddg-tc{color:var(--ddg-c)}
.ddg-more{margin-top:10px}.ddg-more summary,.ddg-fold summary{cursor:pointer;color:var(--ddg-gold);min-height:40px;display:flex;align-items:center;font-size:14.5px}
/* the module's own blocks inside the page: night ground, full width */
.ddg .ddg-dd.dd{background:none;color:var(--ddg-tx);max-width:none;padding:0;margin:0;font-size:14.5px}
.ddg .ddg-dd.dd p{max-width:none}
.ddg .ddg-lead .dd-weeks{margin:10px 0 0}
/* beat 2 */
.ddg-ctl{display:flex;flex-wrap:wrap;align-items:flex-start;gap:8px;margin:0 0 10px}.ddg-ctl>.ddg-rng{align-self:flex-start;line-height:40px}
.ddg-seg{display:inline-flex;border:1px solid #4A4588;border-radius:3px;overflow:hidden}
.ddg-seg button{min-height:40px;padding:0 14px;border:0;background:none;color:var(--ddg-tx2);font:500 14px var(--f-text,system-ui);cursor:pointer}
.ddg-seg button[aria-pressed=true]{background:#2E2A66;color:#fff}
.ddg-ar{min-width:40px;min-height:40px;border:0;background:none;color:var(--ddg-gold);font-size:24px;cursor:pointer;opacity:.75}.ddg-ar:disabled{opacity:.2;cursor:default}
.ddg-rng{font-size:14px;color:var(--ddg-tx2)}
.ddg-chips{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 12px}
.ddg-chip{min-width:40px;min-height:40px;padding:0 8px;border:1px solid #4A4588;border-left:3px solid var(--c);border-radius:3px;background:none;color:var(--ddg-tx2);font:600 12.5px var(--f-text,system-ui);cursor:pointer}
.ddg-chip.on{background:#2E2A66;color:#fff;border-color:var(--c)}.ddg-chip.off{opacity:.55;border-style:dashed}
.ddg-stage{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:22px;align-items:start}
.ddg-wheel{width:100%;height:auto;display:block;max-width:640px;margin:0 auto}
.ddg-wheel text{font-family:var(--f-text,"IBM Plex Sans",system-ui,sans-serif)}
.ddg-wheel .nk{font:500 12.5px var(--mono,monospace);fill:#8E89B4;text-anchor:middle;dominant-baseline:middle}
.ddg-wheel .hn{font-size:21px;font-weight:600;fill:#F4EEDF}.ddg-wheel .sg{font-size:16px;fill:#B9B4D6}
.ddg-wheel .pl{font-size:14px;font-weight:700;fill:#14123A;text-anchor:middle}
.ddg-wheel .you{font:400 32px var(--f-display,Georgia,serif);fill:#F3C96B;text-anchor:middle}.ddg-wheel .yous{font-size:15px;fill:#B9B4D6;text-anchor:middle}
.ddg-pg{cursor:pointer}
.ddg-lg{display:flex;flex-wrap:wrap;gap:14px;margin:8px 0 0;font-size:13px;color:var(--ddg-tx2)}
.ddg-lg i{display:inline-block;width:14px;height:14px;border-radius:3px;vertical-align:-2px;margin-right:6px}
.ddg-lg i.ln{width:22px;height:4px;background:#E9A93F;vertical-align:3px}.ddg-lg i.ln.f{opacity:.4}.ddg-lg i.ln.d{background:none;border-top:3px dashed #5CC08A;height:0}.ddg-lg i.tk{width:4px;height:14px;background:var(--ddg-gold)}
.ddg-lg i.nowb{background:none;outline:2px solid #fff}
.ddg-lgl,.ddg-tip{font-size:13px;color:var(--ddg-tx2);margin:8px 0 0}
.ddg-evs{list-style:none;margin:0;padding:0}
.ddg-ev{display:grid;grid-template-columns:96px 30px minmax(0,1fr);gap:10px;align-items:start;padding:10px 0;border-top:1px solid var(--ddg-line)}
.ddg-when{font:500 12.5px/1.45 var(--mono,monospace);color:var(--ddg-tx2)}
.ddg-dot{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;font:700 11px var(--f-text,system-ui);color:#14123A}
.ddg-what b{display:block;font-weight:600;font-size:15px;line-height:1.35}.ddg-what small{display:block;color:var(--ddg-tx2);font-size:13px;margin-top:2px}
.ddg-fx{display:flex;flex-wrap:wrap;gap:4px 12px;font-size:13px;margin-top:3px}.ddg-up{color:var(--ddg-g)}.ddg-dn{color:var(--ddg-c)}
.ddg-none{padding:12px 0;color:var(--ddg-tx2);border-top:1px solid var(--ddg-line)}
.ddg-still{font-size:13.5px;color:var(--ddg-tx2);margin:10px 0 0}
.ddg-years p{margin:0 0 6px;font-size:14.5px}.ddg-years .p15-b{font-size:12.5px;padding:1px 8px}
.ddg-lane{display:grid;grid-template-columns:110px minmax(0,1fr);gap:10px;align-items:center;margin:5px 0;font-size:13px}
.ddg-track{position:relative;height:24px;background:rgba(255,255,255,.03);border-radius:3px}
.ddg-stay{position:absolute;top:2px;height:20px;border-radius:3px;font:500 11px var(--f-text,system-ui);color:#14123A;padding:0 6px;display:flex;align-items:center;white-space:nowrap;overflow:hidden}
/* beat 3 */
.ddg-curve{width:100%;height:auto;display:block;margin:4px 0 6px}
.ddg-curve .cv{font:500 12px var(--mono,monospace);fill:#B9B4D6}.ddg-curve .tp{fill:#F3C96B;font-size:11px}.ddg-curve .vb{fill:#F4EEDF}
.ddg-curve .bg-g{fill:#6FD39A;opacity:.07}.ddg-curve .bg-c{fill:#F3B8E4;opacity:.07}
.ddg-ribw{overflow-x:auto;margin-top:8px}
.ddg-rib{display:grid;grid-template-columns:170px repeat(var(--n),minmax(22px,1fr));gap:3px;min-width:740px;align-items:stretch}
.ddg-rl{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;text-align:left;min-height:40px;padding:0 8px 0 0;border:0;background:none;color:var(--ddg-tx);font:500 13.5px var(--f-text,system-ui);cursor:pointer}
.ddg-rl.ddg-hd,.ddg-rl.ddg-cdl{cursor:default;color:var(--ddg-tx2)}
.ddg-rl[aria-expanded=true] b{color:var(--ddg-gold)}
.ddg-nw{font:500 11px var(--mono,monospace)}
.ddg-mh{font:500 10.5px/1.2 var(--mono,monospace);color:#8E89B4;align-self:end;padding-bottom:2px;white-space:nowrap}
.ddg-cell{border-radius:3px;min-height:34px;display:grid;place-items:center;font-size:11px;color:#14123A}
.ddg-cg{background:var(--ddg-g)}.ddg-cs{background:var(--ddg-s2);color:var(--ddg-gold)}.ddg-cc{background:var(--ddg-c)}.ddg-cell.now{outline:2px solid #fff;outline-offset:1px}
.ddg-open{grid-column:1/-1;background:var(--ddg-panel);border:1px solid var(--ddg-line);border-left:3px solid var(--ddg-gold);border-radius:3px;padding:10px 14px;margin:2px 0 8px;font-size:14.5px}
.ddg-cd{font:500 10px/1.25 var(--mono,monospace);color:var(--ddg-c);text-align:center;padding-top:4px}
.ddg-star{color:var(--ddg-gold)}
/* beat 4 */
.ddg-folds{display:grid;gap:8px}
.ddg-fold{background:var(--ddg-panel);border:1px solid var(--ddg-line);border-radius:3px;padding:2px 16px}
.ddg-fold[open]{padding-bottom:14px}
.ddg-hs{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,230px),1fr));gap:8px;margin-top:10px}
.ddg-hs>div{border:1px solid var(--ddg-line);border-radius:3px;padding:8px 10px;font-size:14px}.ddg-hs small{color:var(--ddg-tx2);font-size:12.5px}
.ddg-refl{margin:20px 0 0;color:var(--ddg-tx2);font-size:13.5px}
@media (max-width:900px){.ddg-stage{grid-template-columns:1fr}.ddg-now{grid-template-columns:1fr}}
@media (max-width:760px){
  .ddg-bar{flex-wrap:wrap;gap:8px;padding-bottom:0}.ddg-bt{max-width:60%;font-size:18px}
  .ddg-nav{order:3;flex:1 0 100%;justify-content:space-between;border-top:1px solid rgba(255,255,255,.06)}
  .ddg-h1{font-size:27px}.ddg-rib{grid-template-columns:92px repeat(var(--n),22px);min-width:0}.ddg-rl{font-size:12.5px}
  .ddg-ev{grid-template-columns:30px minmax(0,1fr)}.ddg-ev .ddg-when{grid-column:2;grid-row:2}.ddg-ev .ddg-dot{grid-row:1}
  .ddg-lane{grid-template-columns:76px minmax(0,1fr)}
  .ddg-wheel .nk,.ddg-wheel .sg{display:none}.ddg-wheel .hn{font-size:27px}.ddg-wheel .pl{font-size:16px}.ddg-wheel .yous{display:none}.ddg-wheel .you{font-size:36px}}
.ddg-rib>.ddg-rl{position:sticky;left:0;z-index:1;background:#14123A}
.ddg-what small::first-letter{text-transform:uppercase}
/* 2 Nov 2026 (owner 15:07 "all paras must run page width ... make this a rule for this app"): the module's own text columns (78ch, 70ch, 90ch) run the full width here */
.ddg .ddg-dd p,.ddg .ddg-dd ul,.ddg .ddg-dd ol,.ddg .ddg-dd li,.ddg .ddg-dd dl,.ddg .ddg-dd .dd-chapter,.ddg .ddg-dd .dd-intro,.ddg .ddg-dd .dd-method,.ddg .ddg-dd .dd-disc,.ddg .ddg-dd .dd-note{max-width:none}
/* 2 Nov 2026 (owner 15:19): the nine on the card (Your sky's tiles, houses from the Moon sign) and the module's Planetary support dial in "The next four weeks" */
.ddg-card .ddg-cl{container-type:inline-size}
.ddg-card .ddg-nk{margin:14px 0 8px;font:600 11.5px var(--sans);letter-spacing:.08em;text-transform:uppercase;color:var(--goldT,#F3C96B)}
body.p15 .ddg-card .ddg-nine{display:grid;grid-template-columns:repeat(9,minmax(0,1fr));gap:8px;margin:0 0 10px;overflow:visible}
body.p15 .ddg-card .ddg-nine .p15y-t{flex:none}
@container (max-width:1020px){body.p15 .ddg-card .ddg-nine{grid-template-columns:repeat(5,minmax(0,1fr))}}
@container (max-width:600px){body.p15 .ddg-card .ddg-nine{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;padding-bottom:4px}
  body.p15 .ddg-card .ddg-nine::-webkit-scrollbar{display:none}body.p15 .ddg-card .ddg-nine .p15y-t{flex:0 0 136px;scroll-snap-align:start}}
.ddg-w4g{display:grid;grid-template-columns:minmax(0,300px) minmax(0,1fr);gap:20px;align-items:start;margin-top:6px}
.ddg-gauge .dd-gauge{margin:0;padding:0;background:none;border:0;max-width:300px}
.ddg-gauge .dd-dial{display:block;width:100%;height:auto;margin:0}
.ddg-gauge .dd-meaning{margin:6px 0 0;font-size:13px;line-height:1.5;color:var(--ddg-tx2)}
.ddg-gauge text.ddg-tg{fill:var(--ddg-g)}.ddg-gauge text.ddg-ts{fill:var(--ddg-s)}.ddg-gauge text.ddg-tc{fill:var(--ddg-c)}
.ddg-gauge .dd-pin{cursor:default}
@media (max-width:1180px){.ddg-w4g{grid-template-columns:1fr}.ddg-gauge .dd-gauge{max-width:340px;margin:0 auto}}
/* 2 Nov 2026 (owner 16:41 "i don't know what the star means"): the module's own note for the star under the ribbon */
.ddg-star-n{margin:8px 0 0;font-size:13.5px;line-height:1.5;color:var(--ddg-tx2)}.ddg-star-n .ddg-star{color:var(--ddg-gold)}
/* owner 3 Nov 12:35: Year shows its twelve months above the list; one month at a time, the current one marked */
.ddg-mos{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:6px;margin:0 0 14px}
@media (min-width:1100px){.ddg-mos{grid-template-columns:repeat(12,minmax(0,1fr))}}
.ddg-mo{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;min-height:44px;padding:4px 2px;border:1px solid #4A4588;border-radius:3px;background:none;color:var(--ddg-tx2,#cfcbee);font:600 13px var(--f-text,system-ui);cursor:pointer}
.ddg-mo small{font:500 10px var(--f-mono,monospace);color:#a9a5d6;letter-spacing:.04em}
.ddg-mo i{font-style:normal;font:500 10.5px var(--f-mono,monospace);color:#8f8ac4}
.ddg-mo.now{border-color:#F7C766;color:#F7E7C2}
.ddg-mo.now::after{content:"";position:absolute;top:4px;right:5px;width:6px;height:6px;border-radius:50%;background:#F7C766}
.ddg-mo.on{background:#2E2A66;color:#fff;border-color:#F7C766;box-shadow:0 0 0 1px rgba(247,199,102,.35) inset}
.ddg-mo:hover{background:rgba(247,199,102,.08)}
/* owner 6 Nov 2026: "the mean node gives 5 Dec" under a Rahu-Ketu sign change, quieter than the line above */
.ddg-what small.ddg-mean{font-style:italic;opacity:.85}
/* 6 Nov: "Why two dates? ›" opens the Vedic Sky page on the two Rahu dates; a 40 px tap on phones without moving the line */
.ddg-what small.ddg-mean a.ddg-why{color:var(--ddg-gold);font-style:normal;text-decoration:none;white-space:nowrap}.ddg-what small.ddg-mean a.ddg-why:hover,.ddg-what small.ddg-mean a.ddg-why:focus-visible{text-decoration:underline}
@media (max-width:760px){.ddg-what small.ddg-mean a.ddg-why{display:inline-block;padding:11px 0;margin:-11px 0}}
/* 16.0.16 the chart view (owner 14 Nov 08:41): one row of four, the Lagna | Moon switch on the chart, the panchang chart (assets/pchart.js) */
.ddg-cvw{margin:0 0 0 auto;display:flex;flex-direction:column;align-items:flex-start;gap:8px}.ddg-cv{flex-wrap:wrap}   /* owner 14 Nov 09:32: at the right end of the date row, the same margin as the left */
.ddg-cv button{min-height:40px}
.ddg-chart{display:flex;flex-direction:column;align-items:center;gap:8px}
.ddg-fr{align-items:center}
.ddg-fr .ddg-frk{padding:0 10px 0 12px;color:var(--ddg-tx2);font:500 13px var(--f-text,system-ui);white-space:nowrap}
.ddg-cap{margin:0;color:var(--ddg-tx2);font:400 14px var(--f-text,system-ui);text-align:center}
.ddg-wl svg.pc{width:100%;height:auto;display:block;max-width:640px;margin:0 auto;border-radius:3px}
svg.pc text{font-family:var(--mono,"JetBrains Mono",ui-monospace,monospace);text-anchor:middle}
svg.pc .pc-rn{font-weight:700;fill:#fffaf0}svg.pc .pc-rn.lg{fill:#ffb35c}
svg.pc .pc-ht{font-weight:400;fill:#d5d0f7;fill-opacity:.85}
svg.pc .pc-lg{font-weight:600;fill:#ffb35c}
svg.pc .pc-ab{font-weight:700;fill:#120f36}
svg.pc .pc-r{font-weight:700}
svg.pc .pc-st{font-weight:700;paint-order:stroke;stroke:#0a0822;stroke-opacity:.85;stroke-width:5px}
svg.pc .pc-ct{font-family:var(--f-display,Georgia,serif);fill:#F3C96B}svg.pc .pc-cs{fill:#B9B4D6}
svg.pc .pc-g{cursor:pointer}
.ddg-lgc i.lgw{display:inline-block;width:14px;height:10px;border-radius:2px;background:radial-gradient(#ffb054,rgba(255,140,60,.3));vertical-align:middle;margin-right:6px}
.ddg-lgc i.lgl{display:inline-block;width:14px;height:10px;border-radius:2px;border:1px solid #ffb35c;vertical-align:middle;margin-right:6px}
@media (max-width:480px){.ddg-cvx{display:none}.ddg-cv button{padding:0 11px}}
@media (max-width:899px){.ddg-ctl .ddg-cvw{margin:4px 0 0;flex-basis:100%}}
/* 16.0.24 (owner 18 Nov 2026 00:18): the card steps four weeks at a time with faint ‹ › like Your next 7 days (laptops: in the card's own margin, brighter on
   hover or focus; phones: top right of the card body, 40 px, and a sideways swipe) */
body.p15 #p15ddg .ddg-wk{position:relative}
body.p15 #p15ddg .ddg-ar{position:absolute;top:0;bottom:0;width:26px;display:flex;align-items:center;justify-content:center;padding:0;margin:0;border:0;border-radius:3px;
  background:none;color:var(--tx3);opacity:.32;font:300 30px/1 var(--serif,Marcellus,serif);cursor:pointer;transition:opacity .2s,color .2s;z-index:1}
body.p15 #p15ddg .ddg-ar span{display:block;transform:translateY(-2px)}
body.p15 #p15ddg .ddg-next{right:-27px} body.p15 #p15ddg .ddg-prev{left:-27px}
body.p15 #p15ddg .ddg-ar:hover,body.p15 #p15ddg .ddg-ar:focus-visible{opacity:1;color:var(--goldT)}
body.p15 #p15ddg .ddg-ar:focus-visible{outline:2px solid var(--goldT);outline-offset:1px}
body.p15 #p15ddg .ddg-wk:hover .ddg-ar{opacity:.55} body.p15 #p15ddg .ddg-wk .ddg-ar:hover{opacity:1}
@media (max-width:760px){
  body.p15 #p15ddg .ddg-ar{top:-6px;bottom:auto;width:40px;height:40px;font-size:28px;opacity:.38}
  body.p15 #p15ddg .ddg-next{right:-6px;left:auto} body.p15 #p15ddg .ddg-prev{right:34px;left:auto}
  body.p15 #p15ddg .ddg-wk .ddg-c1{padding-right:78px}
}
@media (hover:none){body.p15 #p15ddg .ddg-wk:hover .ddg-ar{opacity:.38}}
