/* The OSC Tip Line, at the foot of a story's sidebar (Components/TipLineCard):
   the paper's red, a telephone ringing, the number large enough to tap. Every
   colour is set on the element it colours; the site styles anchors. */
.osc-tip {
    --tip-red: #a3201c;
    --tip-deep: #6e1210;
    --tip-cream: #fbf4e2;
    --tip-gold: #f2c14e;
    position: relative; margin: 22px 0 10px; padding: 18px 16px 16px;
    overflow: hidden; border-radius: 8px; color: var(--tip-cream);
    background:
        radial-gradient(circle at 88% 12%, rgba(242, 193, 78, 0.22), rgba(242, 193, 78, 0) 110px),
        linear-gradient(165deg, var(--tip-red) 0%, var(--tip-deep) 100%);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08) inset, 0 8px 22px rgba(70, 10, 8, 0.28);
}
.osc-tip[hidden] { display: none; }
/* Newsprint dots across the card, very faint. */
.osc-tip::before {
    content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .09;
    background-image: radial-gradient(rgba(255, 255, 255, .9) 1px, transparent 1.4px);
    background-size: 7px 7px;
}
.osc-tip > * { position: relative; }
.osc-tip-top { display: flex; align-items: center; gap: 10px; }
.osc-tip-phone { display: block; width: 46px; height: 46px; flex: none; }
.osc-tip-phone svg { display: block; width: 100%; height: 100%; }
.osc-tip-handset { fill: var(--tip-cream); transform-origin: 32px 32px; animation: osc-tip-ring 3.2s ease-in-out infinite; }
.osc-tip-rings path { stroke: var(--tip-gold); stroke-width: 4; opacity: 0; animation: osc-tip-wave 3.2s ease-out infinite; }
.osc-tip-rings path + path { animation-delay: .18s; }
.osc-tip .osc-tip-kicker {
    margin: 0; font: 800 .72rem/1.2 Arial, Helvetica, sans-serif; letter-spacing: .16em; text-transform: uppercase; color: var(--tip-gold);
}
.osc-tip .osc-tip-title {
    margin: 12px 0 0; padding: 0; border: 0;
    font: 800 1.32rem/1.15 Georgia, 'Times New Roman', serif; color: #fff;
}
.osc-tip .osc-tip-copy { margin: 8px 0 0; font: .9rem/1.45 Georgia, 'Times New Roman', serif; color: #f3e3d6; }
.osc-tip .osc-tip-copy b { color: var(--tip-gold); }
.osc-tip a.osc-tip-number {
    display: block; margin: 12px 0 0; color: #fff; text-decoration: none;
    font: 900 1.55rem/1 Georgia, 'Times New Roman', serif; letter-spacing: .01em; white-space: nowrap;
}
.osc-tip-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; }
.osc-tip a.osc-tip-btn {
    flex: 1 1 auto; display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 0 12px;
    border-radius: 999px; background: var(--tip-gold); color: #3a0d0b; text-decoration: none;
    font: 800 .84rem/1 Arial, Helvetica, sans-serif; white-space: nowrap; transition: background-color .15s ease;
}
.osc-tip a.osc-tip-btn:hover { background: #ffd56e; }
.osc-tip a.osc-tip-btn-alt { background: transparent; color: var(--tip-cream); box-shadow: inset 0 0 0 2px rgba(251, 244, 226, .7); }
.osc-tip a.osc-tip-btn-alt:hover { background: rgba(251, 244, 226, .12); }
.osc-tip .osc-tip-more { margin: 12px 0 0; font: .82rem/1.3 Arial, Helvetica, sans-serif; }
.osc-tip .osc-tip-more a { color: var(--tip-cream); text-decoration: underline; text-underline-offset: 3px; }
.osc-tip a:focus-visible { outline: 3px solid var(--tip-gold); outline-offset: 3px; }

@keyframes osc-tip-ring {
    0%, 62%, 100% { transform: rotate(0); }
    66% { transform: rotate(-12deg); } 70% { transform: rotate(10deg); }
    74% { transform: rotate(-9deg); } 78% { transform: rotate(7deg); } 82% { transform: rotate(0); }
}
@keyframes osc-tip-wave { 0%, 60% { opacity: 0; } 70% { opacity: 1; } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
    .osc-tip-handset, .osc-tip-rings path { animation: none; }
    .osc-tip-rings path { opacity: .8; }
}
