/* Instagram UI Kit v0.2.5-beta (MIT), scoped DOM adaptation of Photo,
   GridControlBar and GridControlBarItem. See assets/vendor/instagram-ui-kit/LICENSE.txt. */
.igk-photo{position:relative;box-sizing:border-box;margin:0}
.igk-photo-overlay{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.igk-control-bar{display:flex;align-items:center;justify-content:center;height:53px;margin:0;padding:0;border-top:1px solid #efefef;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif}
.igk-control-bar .igk-control-item{margin:0;padding:0;height:100%;font-weight:600;color:#737373}
.igk-control-item[aria-pressed=true]{color:#262626}
.dg-stream{--dg-ink:#24232c;--dg-muted:#656370;--dg-line:#e8e6eb;--dg-pink:#d62b65;--dg-ring:linear-gradient(35deg,#ffbc48 7%,#fc6e43 32%,#da3380 65%,#8055d8 96%);width:100%;max-width:730px;min-width:0;margin-inline:auto;background:#fff;color:var(--dg-ink);font-family:inherit;container-type:inline-size;scroll-margin-top:76px}
.dg-stream *,.dg-stream *::before,.dg-stream *::after{box-sizing:border-box}
.dg-stream button{appearance:none;margin:0;padding:0;min-width:0;min-height:0;border:0;border-radius:0;color:inherit;background:transparent;font:inherit;letter-spacing:inherit;text-transform:none;box-shadow:none;cursor:pointer;transform:none}
.dg-stream button:focus-visible,.dg-stream article:focus-visible{outline:3px solid #8b52d1;outline-offset:-3px}
.dg-stream svg{display:block;width:21px;height:21px;flex:none}
.dg-controls{background:white}
.dg-stream .igk-control-bar{height:48px;gap:0;border:0;border-bottom:1px solid var(--dg-line)}
.dg-stream .igk-control-item{position:relative;display:flex;align-items:center;justify-content:center;gap:7px;height:100%;padding:0 18px;color:var(--dg-muted);font-family:inherit;font-weight:650;font-size:14px}
.dg-stream .igk-control-item[aria-pressed=true]{color:var(--dg-ink);font-weight:800}
.dg-stream .igk-control-item[aria-pressed=true]::after{content:"";position:absolute;inset:auto 12px 0;height:2px;border-radius:2px;background:var(--dg-ink)}
.dg-stories{display:flex;align-items:start;gap:12px;overflow-x:auto;scrollbar-width:thin;padding:16px 10px 13px;scroll-snap-type:x proximity}
.dg-stream .dg-story{flex:none;display:grid;justify-items:center;align-content:start;gap:6px;width:82px;scroll-snap-align:center;color:#44404c;font-weight:650;line-height:1.2;font-size:12px}
.dg-ring{display:grid;place-items:center;width:64px;height:64px;padding:2px;border-radius:50%;background:#e9e6ec}
.dg-ring>span{width:100%;height:100%;border:3px solid white;border-radius:50%;display:grid;overflow:hidden;place-items:center;background:#f1ebfa;color:#74579a;font-size:17px;font-weight:850}
.dg-ring img{width:100%;height:100%;display:block;object-fit:cover}
.dg-ring svg{width:25px;height:25px}
.dg-story[aria-pressed=true] .dg-ring{background:var(--dg-ring)}
.dg-story[aria-pressed=true] .dg-story-name{color:#211b29;font-weight:800}
.dg-story-name{white-space:normal;overflow-wrap:anywhere}
.dg-stream .dg-picker-toggle{display:flex;align-items:center;gap:8px;width:calc(100% - 24px);margin:0 12px 9px;min-height:40px;padding:5px 12px;border-radius:12px;background:#f6f3f8;color:#4c395b;text-align:left;font-size:13px;font-weight:700}
.dg-picker-toggle span{flex:1;overflow-wrap:anywhere}.dg-picker-toggle svg{width:16px;height:16px}
.dg-sheet{position:fixed;inset:0;box-sizing:border-box;margin:auto;width:min(430px,calc(100% - 32px));max-height:min(70dvh,600px);padding:18px;border:0;border-radius:20px;color:var(--dg-ink);background:#fff;box-shadow:0 16px 64px #26223040;overflow:auto;overscroll-behavior:contain}
.dg-sheet::backdrop{background:#1d172842}
.dg-sheet header,.dg-sheet nav{display:flex;align-items:center}.dg-sheet header{justify-content:space-between;font-size:18px}.dg-sheet header button{display:grid;place-content:center;width:44px;height:44px}
.dg-sheet nav{flex-wrap:wrap;gap:5px;color:#675270}.dg-sheet nav button{min-height:40px;font-size:13px;font-weight:700}.dg-sheet nav svg{width:14px;height:14px}
.dg-choices{display:grid;gap:6px;padding:4px 0 7px}
.dg-stream .dg-choices button{display:flex;align-items:center;gap:9px;min-height:48px;padding:8px 12px;text-align:left;border:1px solid var(--dg-line);border-radius:10px;background:#fff;color:#383340;font-size:14px;font-weight:650}
.dg-choices button span{flex:1}.dg-choices svg{width:17px;height:17px;color:#786587}.dg-choices button[aria-pressed=true]{border-color:#9164ab;background:#f5effb}
.dg-skeleton{min-height:clamp(235px,75cqw,60svh);background:linear-gradient(115deg,#f7f6f8,#efedf1 50%,#f7f6f8)}
.dg-works{min-width:0}
.dg-card,.dg-deck{margin:0;background:#fff;min-width:0;border-top:1px solid var(--dg-line)}
.dg-stage{position:relative;isolation:isolate;overflow:hidden;background:#f8f8f9;touch-action:pan-y pinch-zoom;user-select:none}
.dg-stream .dg-photo{display:grid;place-items:center;width:100%;padding:0;touch-action:pan-y pinch-zoom;cursor:zoom-in;overflow:hidden}
.dg-photo img{display:block;width:100%;height:clamp(250px,81cqw,70svh);object-fit:contain}
.dg-no-photo,.dg-placeholder{display:grid;place-content:center;text-align:center;min-height:190px;gap:12px;padding:20px;color:var(--dg-muted)}
.dg-stream .dg-gesture{position:absolute;z-index:1;top:50%;left:50%;display:none;transform:translate(-50%,-50%);border-radius:50%;padding:15px;background:#fff;box-shadow:0 5px 28px #35324228}
.dg-stage[data-drag] .dg-gesture{display:block}
.dg-stage[data-drag] .dg-photo{transform:translateX(var(--drag))}
.dg-gesture svg{width:40px;height:40px}
.dg-stage[data-drag=like] .dg-gesture{color:var(--dg-pink)}
.dg-stage[data-drag=like] .dg-gesture svg{fill:currentColor}
.dg-touch-hint{position:absolute;left:50%;bottom:9px;transform:translateX(-50%);padding:5px 12px;border-radius:16px;background:#24202be8;color:#fff;font-size:12px;font-weight:650;white-space:nowrap;opacity:0}
.dg-touch-hint.is-visible{animation:dg-touch-tip 3.8s both}.dg-stage[data-drag] .dg-touch-hint{display:none}
@keyframes dg-touch-tip{0%,82%{opacity:1}100%{opacity:0;visibility:hidden}}
.dg-stream article footer{display:block;padding:7px 15px;background:white}
.dg-action-line,.dg-credit{display:flex;align-items:center;gap:9px;min-width:0}
.dg-stream .dg-heart,.dg-stream .dg-next{flex:none;display:inline-flex;gap:5px;align-items:center;justify-content:center;min-width:44px;min-height:44px;color:var(--dg-ink);font-size:14px;font-weight:750}
.dg-heart svg{width:25px;height:25px}
.dg-stream .dg-heart[aria-pressed=true]{color:var(--dg-pink)}
.dg-heart[aria-pressed=true] svg{fill:currentColor}
.dg-school{min-width:0;display:inline-flex;align-items:center;gap:5px;width:fit-content;max-width:100%;padding:4px 9px;border-radius:13px;background:#f3edf8;color:#66467a;font-size:12px;font-weight:750;line-height:1.4;white-space:normal;overflow-wrap:anywhere}
.dg-school svg{width:14px;height:14px}
.dg-position{margin-left:auto;white-space:nowrap;font-size:12px;color:var(--dg-muted);font-variant-numeric:tabular-nums}
.dg-action-line{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:6px}
.dg-attribution{grid-column:2;grid-row:1;min-width:0;display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:2px 8px}
.dg-action-line .dg-school{justify-content:center;text-align:center}
.dg-stream .dg-next,.dg-stream .dg-heart{gap:5px;padding:0 7px;border-radius:12px;font-size:13px;white-space:nowrap}
.dg-stream .dg-next{grid-column:1;grid-row:1;justify-self:start;color:var(--dg-muted)}
.dg-stream .dg-heart{grid-column:3;grid-row:1;justify-self:end;color:#a22b5a}.dg-next svg{width:17px;height:17px}
.dg-credit .dg-position{margin-left:auto}.dg-stream .dg-credit button{min-height:29px}
@keyframes dg-heart-pop{50%{transform:scale(1.25)}}
@media(prefers-reduced-motion:no-preference){.dg-heart[aria-pressed=true] svg{animation:dg-heart-pop .22s ease-out}}
.dg-credit{gap:8px;padding:0 4px;align-items:baseline;line-height:1.45}
.dg-credit strong{min-width:0;overflow-wrap:anywhere;font-weight:750;font-size:13px}
.dg-stream .dg-credit button,.dg-credit>span{min-width:0;color:var(--dg-muted);font-size:13px;text-align:left;overflow-wrap:anywhere}
.dg-card-note:empty,.dg-message:empty{display:none}
.dg-message,.dg-card-note{margin:6px 0;color:#675269;font-size:13px}
.dg-stream .dg-more,.dg-stream .dg-placeholder button,.dg-stream .dg-message button{display:block;margin:8px auto;padding:10px 15px;min-height:42px;border:1px solid var(--dg-line);border-radius:12px;font-size:14px;font-weight:700}
.home-dg .dg-stream{border-radius:16px;overflow:clip}
.home-dg .dg-photo img{height:clamp(235px,78cqw,54svh)}
@media(hover:hover) and (pointer:fine){
 .dg-stream .dg-next:hover{background:#f2eff4}.dg-stream .dg-heart:hover{background:#fcebf1}
 .dg-choices button:hover,.dg-story:hover .dg-ring>span{box-shadow:inset 0 0 0 1px #a489b4}
}
@container(max-width:480px){.dg-stories{gap:6px;padding:12px 6px 10px}.dg-ring{width:54px;height:54px}.dg-stream .dg-story{width:69px;font-size:11.5px}.dg-stream .igk-control-item{flex:1;padding:0 4px}.dg-stream article footer{padding:4px 10px 11px}}
@media(min-width:1101px){html .home-grid:has(.dg-stream,.dx-home){grid-template-columns:minmax(0,1fr) minmax(380px,.9fr);gap:clamp(20px,3vw,42px)}}
@media(min-width:1440px){#feedArea .dg-stream{max-width:920px}#feedArea .dg-photo img{height:min(82cqw,69svh)}}
@media(min-width:1101px){#feedArea .dg-deck .dg-photo img{height:clamp(225px,calc(100svh - 400px),69svh)}}
@media(max-width:1100px){
 html .home-side .home-dg .dg-works{max-height:72svh;overflow-y:auto;scrollbar-width:thin}
 .home-side .home-dg{width:100%}
 html .home-grid:has(.dg-stream,.dx-home)>.home-main{display:contents}
 html .home-grid:has(.dg-stream,.dx-home)>.home-main>.home-dashboard-widgets{order:1!important}
 html .home-grid:has(.dg-stream,.dx-home)>.home-side{order:0!important}
 html .home-grid:has(.dg-stream,.dx-home)>.home-main>:is(.home-week,.home-cal,.home-dashboard-courses){order:2!important}
}
@media(max-width:600px){
 body .home-dashboard:has(.dg-stream,.dx-home) .home-dashboard-hero h1{font-size:22px;line-height:1.2}
 .home-dashboard:has(.dg-stream,.dx-home) .home-dashboard-hero{gap:7px}
 .home-dashboard:has(.dg-stream,.dx-home) .home-dashboard-shell{gap:12px}
 .dg-sheet{inset:auto 0 0;margin:0;width:100%;max-width:none;max-height:75dvh;padding:10px 18px max(18px,env(safe-area-inset-bottom));border-radius:22px 22px 0 0}
 .dg-sheet::before{content:"";display:block;width:38px;height:4px;margin:0 auto 4px;border-radius:3px;background:#d5cfda}
 .dg-stream .dg-stories{padding-block:8px;gap:5px}.dg-ring{width:46px;height:46px}
 .dg-photo img{width:100%;height:auto;min-height:190px;max-height:64svh}
 .home-dg .dg-photo img{height:auto;min-height:180px;max-height:54svh}
 .main:is(:has(#feedArea:not([hidden])),:has(#homeDashboard:not([hidden]) .home-dg:not([hidden]))) .topbar{display:flex!important;flex-wrap:nowrap!important;align-items:center;gap:6px;min-height:52px;padding:4px 10px}
 .main:is(:has(#feedArea:not([hidden])),:has(#homeDashboard:not([hidden]) .home-dg:not([hidden]))) .topbar .site-title{flex:1;min-width:0}
 .main:is(:has(#feedArea:not([hidden])),:has(#homeDashboard:not([hidden]) .home-dg:not([hidden]))) .topbar .site-title strong{display:none}
 .main:is(:has(#feedArea:not([hidden])),:has(#homeDashboard:not([hidden]) .home-dg:not([hidden]))) .topbar .search-box{flex:0 0 38px;min-width:0;width:38px;height:40px;padding:0;position:relative;justify-content:center}
 .main:is(:has(#feedArea:not([hidden])),:has(#homeDashboard:not([hidden]) .home-dg:not([hidden]))) .search-box input{position:absolute;inset:0;width:100%;min-width:0;opacity:0;cursor:text}
 .main:is(:has(#feedArea:not([hidden])),:has(#homeDashboard:not([hidden]) .home-dg:not([hidden]))) .topbar .search-box:focus-within{position:absolute;inset:4px 8px;z-index:2;width:auto;background:white}
 .main:is(:has(#feedArea:not([hidden])),:has(#homeDashboard:not([hidden]) .home-dg:not([hidden]))) .search-box:focus-within input{opacity:1;padding:0 10px;background:white}
 .main:is(:has(#feedArea:not([hidden])),:has(#homeDashboard:not([hidden]) .home-dg:not([hidden]))) .topbar #clearSearch{display:none}
}
@media(prefers-reduced-motion:reduce){.dg-stage[data-drag] .dg-photo{transform:none}}
