.home-popup-dialog{z-index:1400;overscroll-behavior:contain;outline:none;width:min(90%,100% - 40px);max-width:988px;max-height:80dvh;position:fixed;top:50%;left:50%;overflow:auto;transform:translate(-50%,-50%)}.home-popup-grid{flex-wrap:wrap;justify-content:center;align-items:flex-start;gap:12px;display:flex}.home-popup-card{border-radius:8px;flex-direction:column;width:320px;max-width:100%;max-height:78dvh;display:flex;position:relative;overflow:hidden}.home-popup-image{overscroll-behavior:contain;min-height:0;overflow:auto}.home-popup-image img{object-fit:contain;width:100%;height:auto;max-height:calc(78dvh - 68px);display:block}.home-popup-controls{flex-shrink:0;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:4px;padding:8px;display:grid}@media(min-width:1024px){.home-popup-dialog{--notice-tile-size:min(320px, max(180px, calc((80dvh - 148px)/2) ));width:min(90%,calc(var(--notice-tile-size) * 3 + 24px))}.home-popup-grid{grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(2,calc(var(--notice-tile-size) + 68px));align-items:stretch;display:grid}.home-popup-card{width:100%;height:100%;max-height:none}.home-popup-image{flex:1;place-items:center;display:grid}.home-popup-image a{width:100%;height:100%;min-height:0;display:block}.home-popup-image img{object-fit:contain;width:100%;height:100%;max-height:100%}.home-popup-controls{height:66px}.home-popup-card[data-desktop-slot="1"]{grid-area:1/1}.home-popup-card[data-desktop-slot="2"]{grid-area:1/2}.home-popup-card[data-desktop-slot="3"]{grid-area:1/3/span 2}.home-popup-card[data-desktop-slot="4"]{grid-area:2/1}.home-popup-card[data-desktop-slot="5"]{grid-area:2/2}.home-popup-dialog:has([data-popup-id=december-2026]){--notice-base-width:min(90vw, 988px, calc(var(--notice-tile-size) * 3 + 24px));--notice-column-width:calc((var(--notice-base-width) - 24px) / 3);--notice-extra-width:min(calc(var(--notice-column-width) * .5), max(0px, calc(90vw - var(--notice-base-width))));width:calc(var(--notice-base-width) + var(--notice-extra-width));max-width:none}.home-popup-dialog:has([data-popup-id=december-2026]) .home-popup-grid{grid-template-columns:repeat(2,minmax(0,var(--notice-column-width))) minmax(0,calc(var(--notice-column-width) + var(--notice-extra-width)))}.home-popup-card[data-popup-id=december-2026] .home-popup-image{margin-block:0;padding-block:0;overflow:hidden}}@media(min-width:640px)and (max-width:1023px){.home-popup-dialog{max-width:680px}.home-popup-card{width:calc(50% - 6px)}}@media(max-width:639px){.home-popup-dialog{width:90%;max-width:360px;overflow:hidden}.home-popup-grid{display:block}.home-popup-card{width:100%;max-height:calc(80dvh - 52px)}.home-popup-image img{max-height:calc(80dvh - 116px)}}
