:root{--ad-strip:50px;--ad-anchor:calc(var(--ad-strip) + 0.6rem + env(safe-area-inset-bottom))}@media (min-width:768px){:root{--ad-strip:90px}}.ad{display:flex;flex:none;align-items:center;justify-content:center;width:100%}.ad-box{min-height:250px;padding-block:1.5rem}.ad-top{height:var(--ad-strip)}.ad-placeholder{display:flex;align-items:center;justify-content:center;max-width:100%;border:1px dashed var(--line-strong);background:var(--paper-2);color:var(--ink-faint);font-size:.75rem}.ad-anchor{position:fixed;left:0;right:0;bottom:0;z-index:50;height:var(--ad-anchor);padding-bottom:env(safe-area-inset-bottom);background:rgb(251 247 239/.96);border-top:1px solid #d8d2c4}body:has(.ad-anchor){--ad-below:var(--ad-anchor);padding-bottom:var(--ad-anchor)}.ad-rail{--ad-edge:calc(275px + 24px);display:none;position:absolute;top:0;bottom:0;z-index:5;width:320px}.ad-left{right:calc(50% + var(--ad-edge))}.ad-right{left:calc(50% + var(--ad-edge))}.ad-beside{position:relative;top:calc((100vh - var(--ad-below, 0px) - 600px) / 2);height:600px}.ad-rail-sticky .ad-beside{position:-webkit-sticky;position:sticky}.page:has(>.ad-rail-sticky){position:relative}@media (min-width:1240px) and (min-height:720px){.ad-top{display:none}.ad-rail{display:block}}