/* TresReyes v2: warm gold, lacquered depth, emerald bonus plaque. */
.tr-offer.tr-offer{
 display:inline-flex;align-items:center;justify-content:center;gap:10px;
 min-height:56px;max-width:100%;padding:14px 30px;border:1px solid #ffe895;
 border-radius:var(--pill);background-color:#efac13;
 background-image:linear-gradient(180deg,#ffed9e 0%,#ffca3c 42%,#efac13 100%);
 color:#261800;text-decoration:none;text-transform:none;
 font:700 1.0625rem/1.4 var(--f-text);letter-spacing:0;text-align:center;
 position:relative;overflow:hidden;vertical-align:middle;animation:none;
 box-shadow:inset 0 1px 0 #fff8d6,inset 0 -4px 0 #b5770b,0 8px 20px -9px #20a76c88;
 transition:box-shadow 150ms cubic-bezier(.22,1,.36,1);
}
.tr-offer.tr-offer::before{
 content:"";flex:0 0 20px;width:20px;height:18px;background:currentColor;
 mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 20'%3E%3Cpath d='M2 4l5 4 5-7 5 7 5-4-3 12H5zM5 18h14v2H5z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.tr-offer.tr-offer::after{
 content:"";position:absolute;inset:-20% auto -20% -46%;width:42%;height:auto;
 background:linear-gradient(105deg,transparent 8%,#ffffff70 50%,transparent 92%);
 border-radius:0;pointer-events:none;opacity:0;transform:translateX(0) skewX(-18deg);animation:none;
}
.tr-offer-label{position:relative;z-index:1;overflow-wrap:anywhere}
.tr-offer.tr-offer[data-reyes-satin="run"]::after{animation:reyes-satin 1350ms cubic-bezier(.23,1,.32,1) 3}
@media(hover:hover) and (pointer:fine){
 .tr-offer.tr-offer:hover{background-color:#ffc334;background-image:linear-gradient(180deg,#fff4bc,#ffd75c 42%,#ffc334);color:#261800;transform:none;box-shadow:inset 0 1px 0 #fff8d6,inset 0 -4px 0 #c08a1f,0 10px 24px -10px #20a76ca0}
 .tr-offer.tr-offer:hover::after{animation:none;opacity:0}
}
.tr-offer.tr-offer:active{background-color:#e6a019;background-image:linear-gradient(180deg,#f6cc61,#e6a019);color:#261800;transform:none;box-shadow:inset 0 2px 4px #975b1155,inset 0 -1px 0 #b5770b}
.tr-offer.tr-offer:focus-visible{outline:3px solid #fff;outline-offset:4px}
.tr-offer.tr-offer:focus-visible::after{animation:none;opacity:0}
@keyframes reyes-satin{0%{opacity:0;transform:translateX(0) skewX(-18deg)}8%,50%{opacity:.65}60%,100%{opacity:0;transform:translateX(365%) skewX(-18deg)}}
.tr-offer-block{display:flex;align-items:center;flex-wrap:wrap;gap:var(--s-md);min-width:0;max-width:100%}
.tr-offer-details{display:flex;flex:1 1 260px;min-width:0;flex-direction:column;gap:var(--s-xs)}
.tr-offer-bonus{display:block;margin:0;color:#f5ecb0;font:600 1rem/1.5 var(--f-text);text-wrap:pretty}
.tr-offer-note{display:block;margin:0;color:var(--quiet);font:400 .875rem/1.5 var(--f-text);text-wrap:pretty}
.tr-offer-hero{align-items:center;flex-direction:column;margin-top:var(--s-lg);text-align:center}
.tr-offer-hero .tr-offer-details{flex-basis:auto}
.tr-offer-hero .tr-offer{margin-top:0}
.tr-offer-end{margin-top:var(--s-lg)}
.tr-offer-footer{align-items:flex-start;flex-direction:column;margin-top:var(--s-lg)}
.tr-offer-footer .tr-offer-details{flex-basis:auto}
.tr-offer-footer .tr-offer{font-size:.875rem;padding-inline:var(--s-lg)}
.tr-header-offer.tr-header-offer{min-height:36px;padding:var(--s-xs) var(--s-md);font-size:.875rem;line-height:1.25;white-space:nowrap;flex-shrink:0}
.tr-header-offer.tr-header-offer::after{bottom:3px}
.tr-internal-guide{display:inline-flex;align-items:center;justify-content:center;border-radius:var(--pill);padding:var(--s-sm) var(--s-lg);background:var(--tint-a);color:var(--text);font-weight:600;text-decoration:none;margin-top:var(--s-lg)}
.tr-internal-guide:hover{background:var(--divider);color:var(--text)}
.tr-internal-guide:focus-visible{outline:3px solid #e4d967;outline-offset:4px}
.n68-prompt:has(.tr-offer-block),.e52-prompt:has(.tr-offer-block),.s76-prompt:has(.tr-offer-block),.w12-prompt:has(.tr-offer-block){align-items:stretch}
.n68-prompt>.tr-offer-block,.e52-prompt>.tr-offer-block,.o60-prompt>.tr-offer-block,.s76-prompt>.tr-offer-block,.w12-prompt>.tr-offer-block{width:100%}
@media(max-width:600px){
 .tr-offer-block{align-items:stretch;flex-direction:column;gap:var(--s-sm)}
 .tr-offer-details{flex-basis:auto}
 .tr-offer-block>.tr-offer{width:100%;padding-inline:var(--s-md)}
 .tr-offer-footer .tr-offer{width:auto}
 .tr-header-offer.tr-header-offer{font-size:.75rem;padding-inline:var(--s-xs)}
}
@media(max-width:930px){
 /* Keep logo, offer and menu on one row; do not inherit the old full-row bar. */
 .p43:has(.tr-header-offer) .p43-hold{flex-wrap:nowrap;height:52px;min-height:52px;padding-block:0;padding-inline:8px;gap:8px}
 .p43:has(.tr-header-offer) .p43-bar{flex:0 0 auto;margin-left:auto}
 .p43:has(.tr-header-offer) .p43-knob{flex-shrink:0;margin-left:0;min-width:44px;padding-inline:10px}
 .tr-header-offer.tr-header-offer{min-height:44px}
}
@media(prefers-reduced-motion:reduce){
 .tr-offer.tr-offer,.tr-offer.tr-offer::after{animation:none;transform:none;transition:none}
}

/* Stack safely first; a wide SLOT may opt into two columns. */
:is(.o60-prompt,.e52-prompt,.n68-prompt,.s76-prompt,.w12-prompt):has(>.tr-offer-block){container:reyes-slot/inline-size;min-width:0}
.tr-offer-block{
 display:grid;grid-template-columns:minmax(0,1fr);align-items:center;justify-items:center;
 gap:12px;padding:20px;min-width:0;max-width:100%;text-align:center;
 border:1px solid #6a6137;border-radius:18px;
 background:linear-gradient(125deg,#123024,#142018 65%,#161d12);
}
.tr-offer-details{display:contents}
.tr-offer-bonus{grid-column:1;grid-row:1;width:100%;min-width:0;max-width:30em;color:#ffe69a;font-size:1.1875rem;line-height:1.3;font-weight:700;text-wrap:balance;overflow-wrap:normal}
:is(.o60-prompt,.e52-prompt,.n68-prompt,.s76-prompt,.w12-prompt)>.tr-offer-block .tr-offer-bonus{font-size:clamp(1.1rem,4.4cqi,1.4rem)}
.tr-offer-note{grid-column:1;grid-row:3;width:100%;max-width:36em;min-width:0;font-size:.8125rem;color:#c5d1c7;line-height:1.5;text-wrap:balance;overflow-wrap:normal}
.tr-offer-block>.tr-offer{grid-column:1;grid-row:2;width:min(100%,340px);min-width:0;padding-inline:18px}
.tr-offer-hero{padding:20px;margin-inline:auto;width:min(100%,520px)}
.tr-offer-hero .tr-offer-bonus{font-size:clamp(1.2rem,2.3vw,1.6rem)}
.tr-offer-end,.tr-offer-footer{width:min(100%,560px);margin-inline:auto}
:is(.o60-prompt,.e52-prompt):has(>.tr-offer-block){
 background:linear-gradient(125deg,#123024,#142018 65%,#161d12);
 border:1px solid #6a6137;padding:20px;align-self:start;
}
:is(.o60-prompt,.e52-prompt)>.tr-offer-block{padding:0;border:0;background:none;border-radius:0;width:100%}
.o60-prompt .o60-line,.e52-prompt .e52-line{color:#c5d1c7;font-size:.875rem;line-height:1.5;text-align:center;text-wrap:balance}
@container reyes-slot (min-width:640px){
 .tr-offer-block{grid-template-columns:minmax(220px,1fr) auto;gap:8px 22px;justify-items:start;text-align:left}
 .tr-offer-block>.tr-offer{grid-column:2;grid-row:1/3;width:auto;max-width:340px}
 .tr-offer-note{grid-column:1;grid-row:2}
}
.tr-header-offer.tr-header-offer{gap:0;box-shadow:inset 0 1px 0 #fff8d6,inset 0 -2px 0 #b5770b}
.tr-header-offer.tr-header-offer::before{display:none}
.tr-header-offer.tr-header-offer::after{inset:-20% auto -20% -46%}
@media(max-width:600px){
 .tr-offer-block{padding:18px}
 .tr-offer-block>.tr-offer{min-height:56px;width:100%;padding-inline:16px}
 .tr-offer-note{font-size:.75rem}
 .tr-offer-hero{padding:18px 16px}
 .tr-offer-hero .tr-offer-bonus{font-size:1.25rem}
 :is(.o60-prompt,.e52-prompt)>.tr-offer-block{padding:0}
}
@media(forced-colors:active){
 .tr-offer.tr-offer{background:ButtonFace;color:ButtonText;border:2px solid ButtonText;box-shadow:none}
 .tr-offer.tr-offer::after{display:none}
 .tr-offer-block,:is(.o60-prompt,.e52-prompt):has(>.tr-offer-block){background:Canvas;border-color:CanvasText}
 .tr-offer-bonus,.tr-offer-note{color:CanvasText}
}
