/* Popup timer · Editorial skin: paper card with hairline frame, tall photo strip,
   tracked caps date above a serif title, underlined caps link, square close */
.hm-ptimer__card { box-shadow: var(--hm-shadow); border: 1px solid var(--hm-c-line); }
.hm-ptimer__close { border-radius: var(--hm-radius-btn); color: var(--hm-c-text); }
.hm-ptimer__close svg { width: 18px; height: 18px; stroke-width: 1.2; }
.hm-ptimer__date {
    order: -1;
    margin: 0 0 8px;
    color: var(--hm-c-accent);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: .24em;
}
.hm-ptimer__title { font-size: 24px; font-weight: 300; line-height: 1.08; letter-spacing: -.005em; }
.hm-ptimer__text { color: var(--hm-c-muted); font-weight: 300; line-height: 1.7; }
.hm-ptimer__link {
    gap: 12px;
    margin-top: 14px;
    padding-bottom: 4px;
    border-bottom: 1px solid currentColor;
    color: var(--hm-c-text);
    font-size: 10.5px;
    font-weight: 500;
    letter-spacing: .2em;
    text-transform: uppercase;
}
.hm-ptimer__link:hover { color: var(--hm-c-accent); }

/* Toast: photo strip on the left, no rounding, text breathes */
.hm-ptimer--toast { width: min(420px, calc(100% - 48px)); }
.hm-ptimer--toast .hm-ptimer__card {
    grid-template-columns: 120px minmax(0, 1fr);
    align-items: stretch;
    gap: 22px;
    padding: 0 44px 0 0;
    border-radius: var(--hm-radius-card);
}
.hm-ptimer--toast .hm-ptimer__media { aspect-ratio: auto; min-height: 148px; border-radius: 0; }
.hm-ptimer--toast .hm-ptimer__body { justify-content: center; padding-block: 22px; }
.hm-ptimer--toast .hm-ptimer__close { top: 8px; right: 8px; }

/* Modal */
.hm-ptimer--modal .hm-ptimer__backdrop { background: rgba(28, 24, 20, .62); }
.hm-ptimer--modal .hm-ptimer__card { width: min(520px, 100%); border: 0; }
.hm-ptimer--modal .hm-ptimer__close { top: 16px; right: 16px; width: 42px; height: 42px; border: 1px solid var(--hm-c-line); background: var(--hm-c-bg); }
.hm-ptimer--modal .hm-ptimer__media { aspect-ratio: 4 / 3; }
.hm-ptimer--modal .hm-ptimer__body { padding: 36px 40px 40px; }
.hm-ptimer--modal .hm-ptimer__title { font-size: clamp(32px, 3vw, 42px); }
.hm-ptimer--modal .hm-ptimer__date { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.hm-ptimer--modal .hm-ptimer__link { margin-top: 26px; font-size: 10.5px; }

@media (max-width: 767px) {
    .hm-ptimer--toast { width: auto; }
    .hm-ptimer--toast .hm-ptimer__card { grid-template-columns: 96px minmax(0, 1fr); gap: 16px; padding: 0 42px 0 0; }
    .hm-ptimer--toast .hm-ptimer__media { min-height: 124px; }
    .hm-ptimer--toast .hm-ptimer__body { padding-block: 16px; }
    .hm-ptimer__title { font-size: 21px; }
    .hm-ptimer--modal .hm-ptimer__body { padding: 28px 24px 30px; }
}
