/* Shared corner system. Shape overrides keep the existing layouts and brand colours.
   Important is limited to radii: older page styles include explicit square corners. */
:root {
  --radius-card: 26px;
  --radius-panel: 22px;
  --radius-button: 14px;
  --radius-field: 12px;
  --radius-small: 9px;
}

/* Catalogue and editorial cards. */
.game-card,
.coming article,
.guide-card,
.press-feature,
.press-card,
.contact-card,
.author-card,
.hub-choice,
.admin-game {
  border-radius: var(--radius-card) !important;
}

/* Clip flush media and coloured card headers to the same outer contour. */
.game-card,
.coming article,
.guide-card,
.press-feature,
.press-card,
.contact-card,
.author-card {
  overflow: hidden;
}

/* Content panels, images, video players and expanding sections. */
.finder,
.result,
.story-photo,
.timeline,
.boxshot-link,
.cta-box,
.contact-form-card,
.contact-help,
.author-redirect,
.fit-panel,
.proto-card,
.send-card,
.legal-document article,
.press-contact-card,
.video-timeline article,
.submit-steps article,
.how article,
.reviews-score,
.review-grid article,
.video-card,
.video-frame,
.gallery-item,
.gallery > img,
.carousel-stage,
.media-dialog,
.product-gallery-card,
.guide-summary,
.guide-game,
.guide-questions details,
.guide-related-link,
.faq details,
.submit-faq details,
.cookie-banner,
.cookie-preferences,
.login-card,
.data-card,
.kpi,
.panel,
.detail-shell,
.game-admin-detail,
.drive-refresh-panel,
.drive-changes,
.drive-dialog,
.finance-accordion,
.production-run,
.product-group,
.journey-card,
.movement-card,
.today-panel,
.dashboard-error,
.hero-note,
.metric,
.empty,
.dialog-shell,
.invite-output,
.toast,
.year-card,
.table-wrap,
.accordion,
.period-bar,
.balance-card,
.settlement-preview,
.due-total > article,
.seo-schedule,
.seo-metric,
.seo-panel,
.seo-article,
.seo-disclosure,
.participation-card,
.pipote-christmas .instagram-section,
.contest-fineprint details,
.card,
.filters {
  border-radius: var(--radius-panel) !important;
}

.video-card,
.contact-help,
.production-run,
.year-card,
.seo-panel,
.participation-card {
  overflow: hidden;
}

.video-card .video-frame {
  border-radius: calc(var(--radius-panel) - 3px) calc(var(--radius-panel) - 3px) 0 0 !important;
}
.video-poster,
.video-frame iframe {
  border-radius: inherit !important;
}

.finance-toggle,
.accordion > summary,
.seo-disclosure > summary {
  border-radius: calc(var(--radius-panel) - 3px) !important;
}
.finance-toggle[aria-expanded="true"],
.accordion[open] > summary,
.seo-disclosure[open] > summary {
  border-radius: calc(var(--radius-panel) - 3px) calc(var(--radius-panel) - 3px) 0 0 !important;
}

/* Buttons retain their existing sizing, colours, icons and hover effects. */
.btn,
.menu,
.filter,
.retailer-list a,
.hero-retailer,
.mobile-order-toggle,
.mobile-order-options,
.mobile-retailer,
.social-link,
.topic-card,
.gold-button,
.contest-floating-button,
.cookie-banner-actions button,
.cookie-dialog-actions button,
.cookie-settings-button,
.primary,
.refresh,
.global-refresh,
.back-hub,
.detail-link,
.media-download,
.media-folder-link,
.production-download,
.production-file,
.remove,
.tab,
.doc,
.seo-btn,
.seo-links a,
.seo-notice button,
.submit {
  border-radius: var(--radius-button) !important;
}

/* Form controls, with native radios and checkboxes left to their own shape. */
input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="hidden"]),
select,
textarea,
::file-selector-button {
  border-radius: var(--radius-field) !important;
}

/* Small labels, facts, counters and inset panels. */
.eyebrow,
.tag,
.meta span,
.game-meta span,
.rating,
.how b,
.contact-step,
.topic-icon,
.submit-steps b,
.send-checks span,
.story-photo figcaption,
.fit-panel li,
.press-type,
.legal-updated,
.pill-ticker .pill-set span,
.pill-ticker .pill-set span:nth-child(n),
.carousel-counter,
.carousel-thumbnails button,
.product-gallery-card span,
.cookie-choice,
.form-status,
.author-redirect-icon,
.guide-card-category,
.guide-category,
.private-badge,
.hub-choice-icon,
.detail-meta span,
.detail-kpi,
.finance-kpi,
.finance-empty,
.finance-arrow,
.drive-count,
.drive-change-tag,
.drive-changes li,
.production-doc-card,
.production-document,
.production-document-type,
.production-doc-place,
.run-pill,
.connection-badge,
.sales-source,
.journey-step,
.today-kpi,
.contact-type,
.contact-detail-icon,
.game-chip,
.assignment,
.sent-games,
.sent-games summary b,
.sent-chevron,
.sent-game-row,
.sent-state,
.sent-quantity,
.colissimo-option,
.initials,
.chip,
.connection,
.notice,
.stamp,
.status,
.rate-box,
.profile-details > div,
.author-identity > div,
.balance-formula > div,
.explanation,
.seo-badge,
.seo-action,
.seo-notice,
.seo-google-metrics article,
.seo-ranking,
.seo-next li > span,
.world-premiere,
.timeline-number,
.instagram-symbol,
.privacy,
.consent,
.message {
  border-radius: var(--radius-small) !important;
}

/* Small navigation controls echo the round arrows in the visual reference. */
.carousel-arrow,
.media-close,
.cookie-dialog-close,
.detail-close,
.drive-dialog-close,
.close {
  border-radius: 50% !important;
}

@media (max-width: 620px) {
  :root {
    --radius-card: 22px;
    --radius-panel: 18px;
    --radius-button: 12px;
    --radius-field: 10px;
    --radius-small: 8px;
  }
}
