.offers-dialog { --gold: #f2cf7b; --gold-ink: #352812; font-size: 24px; }
.offers-dialog[data-tier="silver"] { --gold:#c2d6eb; --gold-ink:#182637; }
.offer-tabs { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; margin:0 0 18px; }
.offer-tab { min-width:0; min-height:44px; white-space:normal; font-size:24px; }
.offer-tab[aria-selected="true"] { border-color:var(--gold); color:var(--gold); background:var(--read-bg); }
.offers-dialog[data-tier="silver"] .annual-plan { border-color:#819bb8; background:#233040; }
.offers-dialog[data-tier="silver"] .recommended-badge { border-color:#819bb8; }
.offers-dialog[data-tier="silver"] #offers-heading .gold-wordmark { width:calc(65em / 12); }
.mobile-copy { display: none; }
.offers-dialog { width: min(820px,calc(100% - 32px)); max-height: calc(100svh - 32px); padding: 22px 30px 18px; border: 3px solid #52647d; box-shadow: inset 0 3px 0 #9bbfe815,0 0 0 3px var(--shadow),8px 8px 0 3px #0004; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #52647d var(--surface); }
.offers-dialog::backdrop { background: #080d14df; }
.offers-topline { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 22px; padding: 12px 14px; background: var(--raised); border-left: 3px solid var(--gold); }
.gold-brand { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 6px 0 26px; }
.gold-brand img { flex: none; image-rendering: pixelated; }
.beta-label { align-self: center; color: var(--gold); border: 1px solid #f2cf7b70; padding: 5px 7px; font-size: 16px; line-height: 1; }
#close-offers { flex: none; color: var(--muted); min-width: 40px; min-height: 40px; }
#offers-heading { display: grid; place-items: center; flex: none; height: 1.1em; font-size: 64px; line-height: 1.1; white-space: nowrap; color: var(--ink); }
#offers-heading .gold-wordmark { display: block; width: calc(14em / 3); height: auto; max-width: none; image-rendering: pixelated; }
.offers-description { font-size: 22px; line-height: 1.3; margin: 0; color: var(--ink); }
.trial-notice-title { display: block; margin-bottom: 5px; font-size: 28px; line-height: 1.2; color: var(--gold); }
.pixel-euro { display: inline-block; position: relative; width: .65em; height: .8em; vertical-align: -.04em; }
.pixel-euro svg { display: block; width: 100%; height: 100%; fill: currentColor; shape-rendering: crispEdges; }
.gold-benefits { list-style: none; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0; margin: 0 0 22px; padding: 0; border: 1px solid var(--edge); background: var(--read-bg); }
.gold-benefits li { display: flex; align-items: center; gap: 14px; padding: 17px 18px; min-width: 0; }
.gold-benefits li:nth-child(odd) { border-right: 1px solid var(--edge); }
.gold-benefits li:nth-child(-n+2) { border-bottom: 1px solid var(--edge); }
.benefit-icon { display: grid; place-items: center; flex: none; width: 38px; height: 38px; background: #f2cf7b0a; color: var(--gold); }
.benefit-icon svg { width: 24px; height: 24px; fill: currentColor; shape-rendering: crispEdges; }
.benefit-icon--welcome svg { width: 16px; height: 32px; }
.gold-benefits li > div { min-width: 0; }
.gold-benefits strong { display: block; font-size: 26px; line-height: 1.2; color: var(--ink); }
.benefit-number { color: var(--gold); }
.benefit-detail { display: block; font-size: 18px; line-height: 1.3; margin-top: 5px; color: var(--muted); }
.plans { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; margin-top: 0; }
.plan { display: flex; flex-direction: column; min-width: 0; border: 2px solid var(--edge); background: var(--read-bg); padding: 18px; box-shadow: 3px 3px 0 var(--shadow); }
.plan-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 30px; }
.plan .plan-heading h3 { margin: 0; color: var(--accent); font-size: 24px; line-height: 1.2; }
.plan-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; margin: 14px 0 18px; line-height: 1; }
.plan-price strong { color: var(--ink); font-size: 58px; white-space: nowrap; }
.plan-price strong > .pixel-euro { font-size: 38px; margin-left: -6px; }
.plan-price strong > .pixel-euro svg { stroke: currentColor; stroke-width: .25; stroke-linejoin: miter; overflow: visible; }
.price-period { font-size: 20px; }
.price-comparison { display: inline-flex; flex-direction: column; align-items: center; align-self: center; gap: 4px; margin-left: 4px; color: var(--muted); font-size: 22px; line-height: 1; white-space: nowrap; }
.price-comparison del { text-decoration-thickness: 1px; }
.price-comparison small { font-size: 14px; line-height: 1.2; }
.plan-terms { font-size: 20px; line-height: 1.3; margin: 0 0 20px; }
.plan-terms strong { color: var(--ink); }
.choose-plan { width: 100%; margin-top: auto; min-height: 48px; font-size: 22px; line-height: 1.2; white-space: normal; }
.annual-plan { position: relative; border-color: #c4a761; background: #25282d; }
.recommended-badge { position: absolute; top: 0; left: 14px; transform: translateY(-55%); padding: 4px 10px; border: 1px solid #c4a761; background: var(--surface); color: var(--gold); font-size: 16px; line-height: 1; white-space: nowrap; }
.annual-plan .plan-heading h3 { color: var(--gold); }
.saving { padding: 4px 6px; font-size: 18px; line-height: 1; color: var(--gold); background: #f2cf7b14; white-space: nowrap; }
.annual-button { background: var(--gold); color: var(--gold-ink); border-color: var(--gold); }
.annual-button:hover:not(:disabled) { border-color: var(--gold); }
.choose-plan[aria-pressed="true"] { outline: 2px solid var(--ink); outline-offset: 4px; }
.quota-note { font-size: 16px; line-height: 1.3; margin: 14px 0 0; text-align: center; }
.selection-feedback { margin: 18px 0 0; padding: 12px; border: 1px solid var(--accent); background: var(--read-bg); color: var(--ink); font-size: 20px; line-height: 1.3; }
.offers-footer { display: grid; justify-items: center; padding-top: 14px; }
.defer-offer { min-height: 44px; min-width: 150px; padding: 8px 18px; border: 1px solid var(--edge); background: transparent; box-shadow: 2px 2px 0 #080d1460; text-align: center; font-size: 20px; line-height: 1.2; color: var(--muted); }
.defer-offer:hover:not(:disabled) { border-color: var(--edge-light); background: var(--raised); color: var(--ink); }
@media (max-width:560px) {
  .offer-tabs { gap:8px; margin-bottom:10px; }
  .offer-tab { font-size:20px; }
  .offers-dialog[data-tier="silver"] .gold-benefits li:last-child .benefit-detail { display:block; font-size:14px; }
  .desktop-copy { display: none; }
  .mobile-copy { display: inline; }
  .offers-dialog { width: calc(100% - 12px); max-height: calc(100svh - 12px); max-height: calc(100dvh - 12px); padding: 10px; }
  .offers-topline { margin-bottom: 10px; padding: 6px 8px; gap: 6px; }
  .gold-brand { gap: 8px; margin: 0 0 10px; }
  .gold-brand img { width: 32px; height: 32px; }
  #offers-heading { font-size: 36px; }
  .beta-label { font-size: 14px; padding: 4px 5px; }
  .offers-description { font-size: 16px; line-height: 1.2; }
  .trial-notice-title { font-size: 22px; margin-bottom: 3px; }
  #close-offers { min-width: 44px; min-height: 44px; }
  .gold-benefits { grid-template-columns: repeat(3,minmax(0,1fr)); margin-bottom: 10px; }
  .gold-benefits li { justify-content: center; gap: 8px; padding: 8px 4px; text-align: center; }
  .gold-benefits li:nth-child(n) { border: 0; }
  .gold-benefits li:first-child { grid-column: 1 / -1; border-bottom: 1px solid var(--edge); }
  .gold-benefits li:nth-child(n+3) { border-left: 1px solid var(--edge); }
  .gold-benefits li:first-child > div { display: flex; align-items: baseline; flex-wrap: wrap; justify-content: center; gap: 5px; }
  .gold-benefits li:not(:first-child) :is(.benefit-icon,.benefit-detail) { display: none; }
  .benefit-icon { width: 18px; height: 18px; background: none; }
  .benefit-icon svg { width: 18px; height: 18px; }
  .gold-benefits strong { font-size: 16px; line-height: 1.2; }
  .gold-benefits li:first-child strong { font-size: 22px; }
  .benefit-detail { font-size: 18px; margin: 0; }
  .gold-benefits li:nth-child(n+3) .benefit-detail { display: block; font-size: 14px; margin-top: 3px; }
  .plans { grid-template-columns: minmax(0,1fr); gap: 10px; }
  .plan { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 4px 8px; padding: 10px; }
  .plan-heading { grid-column: 1; grid-row: 1; justify-content: flex-start; flex-wrap: wrap; align-content: center; gap: 4px 6px; min-height: 32px; }
  .plan .plan-heading h3 { font-size: 22px; }
  .saving { font-size: 14px; padding: 3px 4px; }
  .plan-price { grid-column: 2; grid-row: 1; flex-direction: row; flex-wrap: nowrap; gap: 4px; text-align: right; align-items: baseline; margin: 0; }
  .annual-plan { margin-top: 8px; padding-top: 16px; }
  .plan-price strong { font-size: 36px; }
  .plan-price strong > .pixel-euro { font-size: 26px; margin-left: -5px; }
  .price-period { font-size: 16px; white-space: nowrap; }
  .price-comparison { gap: 3px; margin-left: 2px; font-size: 20px; text-align: left; }
  .plan-terms { grid-column: 1 / -1; margin: 0; font-size: 18px; line-height: 1.2; }
  .choose-plan { grid-column: 1 / -1; min-height: 44px; margin-top: 4px; font-size: 20px; }
  .quota-note { font-size: 16px; line-height: 1.2; margin: 10px 0 0; }
  .offers-footer { padding-top: 8px; }
  .defer-offer { font-size: 18px; }
  .trial-stage { margin-top: 32px; }
  .trial-panel { padding: 20px; }
  .preview-brand { gap: 12px; margin-bottom: 28px; }
  .preview-brand img { width: 44px; height: 44px; }
  .preview-brand h1 { font-size: 46px; }
  .translate-preview kbd { display: none; }
}
@media (max-width:350px) {
  .preview-bar-detail { display: none; }
  .trial-notice-title { font-size: 20px; }
  .gold-benefits strong { font-size: 16px; }
  .plan .plan-heading h3 { font-size: 20px; }
  .plan-price strong { font-size: 32px; }
  .plan-terms { font-size: 16px; }
}
@media (max-width:560px) and (max-height:640px) {
  .offers-topline { margin-bottom: 8px; }
  .gold-brand { margin-bottom: 8px; }
  .gold-benefits { margin-bottom: 8px; }
  .gold-benefits li { padding-top: 6px; padding-bottom: 6px; }
  .plans { gap: 8px; }
}

/* Original offer art direction, with one complete offer per row. */
html body #offers.subscription-offers{box-sizing:border-box;background:#f0e5fa url('/assets/interface-v2/pastel-ui/background-lilac.png') repeat;background-size:96px;color:var(--rm-text,#352844);font:20px/1.3 PixelUI,monospace}
html[data-ui-theme=dark] body #offers.subscription-offers{background:var(--rm-bg,#1b1d1f)}
html body #offers.subscription-offers *,html body #offers.subscription-offers *::before,html body #offers.subscription-offers *::after{box-sizing:border-box}
html body #offers.subscription-offers [hidden]{display:none!important}
html body #offers.subscription-offers .offers-topline{height:auto;min-height:72px;padding:12px 18px;background:var(--rm-surface,#fff9ee);border:0;border-bottom:1px solid var(--rm-line,#aa96b9)}
html body #offers.subscription-offers #offers-heading{display:block;width:auto;height:auto;margin:0;font:500 24px/1.2 PixelUI,monospace;text-transform:uppercase;letter-spacing:.02em;color:inherit;-webkit-text-stroke:0;text-shadow:none}
html body #offers.subscription-offers #close-offers{position:relative;background:none;border:0;box-shadow:none;color:inherit}
html body #offers.subscription-offers #close-offers::before,html body #offers.subscription-offers #close-offers::after{content:'';position:absolute;left:50%;top:50%;width:20px;height:3px;background:currentColor;border-radius:2px;transform:translate(-50%,-50%) rotate(45deg);border:0;outline:0}
html body #offers.subscription-offers #close-offers::after{transform:translate(-50%,-50%) rotate(-45deg)}
html body #offers.subscription-offers #close-offers svg{display:none}
html body #offers.subscription-offers .v2-offer-content{flex:1;box-sizing:border-box;width:min(100%,720px);margin:0 auto;padding:20px max(18px,env(safe-area-inset-right)) 24px max(18px,env(safe-area-inset-left));overscroll-behavior:contain}
html body #offers.subscription-offers .offers-description{margin:0 0 20px;font:20px/1.3 PixelUI,monospace;color:inherit;text-align:center}
html body #offers.subscription-offers .subscription-periods{display:grid;grid-template-columns:1fr 1fr;gap:10px;width:100%;margin:0 0 20px;padding:0;border:0;background:none}
html body #offers.subscription-offers .subscription-periods button{min-width:0;min-height:48px;padding:7px;border:3px solid #a599b7;border-radius:12px;background:#faf3ff;box-shadow:none;color:#191722;font:700 20px/1.1 PixelUI,monospace;cursor:pointer;transition:background 160ms,color 160ms}
html body #offers.subscription-offers .subscription-periods button[aria-pressed=true]{background:#e3d3ff;border-color:#a48dbe}
html[data-ui-theme=dark] body #offers.subscription-offers .subscription-periods button{background:#222528;color:#e8e9e7;border-color:#42474d}
html[data-ui-theme=dark] body #offers.subscription-offers .subscription-periods button[aria-pressed=true]{color:#be91ff;border-color:#be91ff}
html body #offers.subscription-offers #offer-panel{display:grid;grid-template-columns:minmax(0,1fr);gap:20px}
html body #offers.subscription-offers .subscription-tier{--tier-ink:#9ccee9;display:flex;flex-direction:column;min-width:0;padding:18px 24px 20px;border:0;border-radius:14px;outline:3px solid #a599b7;outline-offset:-3px;background:#faf3ff;box-shadow:none}
html body #offers.subscription-offers .subscription-tier[data-offer-tier=gold]{--tier-ink:#ffda64}
html[data-ui-theme=dark] body #offers.subscription-offers .subscription-tier{background:#222528;outline-color:#42474d}
html body #offers.subscription-offers .subscription-tier h3{display:grid;justify-items:center;align-self:center;justify-self:center;width:100%;max-width:358px;min-width:0;margin:0 0 12px;font:400 24px/1 PixelUI,monospace;text-shadow:none;-webkit-text-stroke:0}
html body #offers.subscription-offers .subscription-wordmark{display:block;width:100%;height:auto;image-rendering:pixelated}
html body #offers.subscription-offers [data-offer-tier=gold] .subscription-wordmark{width:calc(100% * 148 / 179)}
html body #offers.subscription-offers .subscription-benefits{display:grid;gap:12px;margin:8px 0 22px;padding:0;list-style:none}
html body #offers.subscription-offers .subscription-benefits li{display:flex;align-items:center;gap:14px;min-width:0}
html body #offers.subscription-offers .subscription-benefit-icon{display:grid;place-items:center;flex:none;width:32px;height:36px;color:#7e6598}
html[data-ui-theme=dark] body #offers.subscription-offers .subscription-benefit-icon{color:var(--tier-ink)}
html body #offers.subscription-offers .subscription-benefit-icon svg{display:block;width:28px;height:28px;fill:currentColor;image-rendering:pixelated}
html body #offers.subscription-offers .subscription-benefit-icon--welcome svg{width:16px;height:32px}
html body #offers.subscription-offers .subscription-benefits strong{display:block;font:700 21px/1.15 PixelUI,monospace;color:inherit}
html body #offers.subscription-offers .subscription-benefit-detail{display:block;margin-top:2px;font:16px/1.2 PixelUI,monospace;color:var(--rm-muted,#74677f)}
html body #offers.subscription-offers .subscription-rate{display:flex;flex-direction:column;align-items:stretch;gap:10px}
html body #offers.subscription-offers .subscription-price{display:flex;flex-wrap:wrap;justify-content:center;align-items:baseline;column-gap:8px;row-gap:2px;margin:0;color:inherit;line-height:1.1}
html body #offers.subscription-offers .subscription-price strong{font:700 40px/1.1 PixelUI,monospace;white-space:nowrap;color:inherit;text-shadow:none;-webkit-text-stroke:0}
html body #offers.subscription-offers .subscription-price .pixel-euro{font-size:26px}
html body #offers.subscription-offers .subscription-price>span{font:18px/1.2 PixelUI,monospace;color:var(--rm-muted,#74677f)}
html body #offers.subscription-offers .subscription-terms{margin:0;font:18px/1.3 PixelUI,monospace;color:var(--rm-muted,#74677f);text-align:center}
html body #offers.subscription-offers .subscription-choose{width:100%;min-height:48px;margin:0;padding:7px;border:3px solid #76ab99;border-radius:12px;background:#c6f5df;box-shadow:none;color:#191722;font:700 22px/1.1 PixelUI,monospace;text-transform:none;cursor:pointer;touch-action:manipulation;transition:transform 100ms,filter 100ms}
html[data-ui-theme=dark] body #offers.subscription-offers .subscription-choose{background:#222528;border-color:#59de98;color:#59de98}
html body #offers.subscription-offers .subscription-choose:active:not(:disabled){transform:translateY(2px);filter:brightness(.96)}
html body #offers.subscription-offers .subscription-choose:disabled{opacity:.55;cursor:default}
html body #offers.subscription-offers button:focus-visible{filter:brightness(1.16)}
html body #offers.subscription-offers .selection-feedback.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip-path:inset(50%);white-space:nowrap;border:0!important;border-image:none!important}
html body #offers.subscription-offers .offers-footer{margin:20px 0 0;text-align:center}
html body #offers.subscription-offers .defer-offer{padding:7px 15px;min-height:44px;border:3px solid var(--rm-line,#a599b7);border-radius:12px;background:var(--rm-surface,#faf3ff);box-shadow:none;color:inherit;font:20px/1.2 PixelUI,monospace}
@media(min-width:700px){
 html body #offers.subscription-offers .v2-offer-content{padding-top:28px}
 html body #offers.subscription-offers .subscription-tier{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:16px 28px;align-items:center;padding:24px}
 html body #offers.subscription-offers .subscription-tier h3{grid-column:1;grid-row:1;margin:0}
 html body #offers.subscription-offers .subscription-benefits{grid-column:1;grid-row:2;margin:0}
 html body #offers.subscription-offers .subscription-rate{grid-column:2;grid-row:1 / span 2}
}
@media(max-width:360px){html body #offers.subscription-offers .v2-offer-content{padding-inline:14px}html body #offers.subscription-offers .subscription-tier{padding:16px}}
@media(orientation:landscape) and (max-height:600px){html body #offers.subscription-offers .v2-offer-content{padding-top:14px}html body #offers.subscription-offers .subscription-tier{padding:18px 24px}html body #offers.subscription-offers .subscription-periods{margin-bottom:16px}}
@media(prefers-reduced-motion:reduce){html body #offers.subscription-offers button{transition:none!important}}
