/* TrafficMember V151 — global sharp/square interface */
html, body, body * { border-radius: 0 !important; }

/* Keep only the requested small/brand/menu elements rounded */
.tm-menu,
.tm-logo img,
.st-top-brand img,
.st-side-brand img,
.auth .brand img,
.admin-brand img,
.buyer-brand img,
.tm-avatar,
.member-avatar,
.profile-avatar,
.user-avatar,
.avatar,
.user-photo,
.member-photo,
.small-btn,
.icon-btn,
.icon-button,
.copy-btn,
.tm-icon-btn,
.tm-head-btn,
button.small,
button.icon,
[aria-label="Menu"],
[aria-label="menu"] { border-radius: 12px !important; }

/* Main buttons stay sharp; only genuinely small/icon controls may be rounded */
button,
a.tm-btn89,
a.tm-btn,
a.btn,
.btn,
button:not(.small-btn):not(.icon-btn):not(.icon-button):not(.copy-btn),
input[type="submit"],
input[type="button"] { border-radius: 0 !important; }

/* Restore the header/menu shape after the generic button rule */
.tm-menu { border-radius: 12px !important; }

/* Square fields, panels and containers across every page */
input, select, textarea, .card, .panel, .box, .section, .modal,
.auth, .task-card, .tm-card89, .tm-console, .tm-stats89 article,
.tm-rate-list, .tm-contact89, .member-rules, .rules-grid, .rule-card,
.task-step-card, .keyword-task-box, .copy-box, .get-code-frame,
.tmcw, .tmcw-progress, .tmcw-code, .tm-modern-member .tm-modal,
.buyer-card, .buyer-panel, .admin-card, .admin-panel,
.profile-card, .api-card, .api-key-box, .history-card,
.withdraw-card, .source-card, .notice-card, .service-card {
  border-radius: 0 !important;
}

/* Inputs/buttons should not inherit rounded pseudo-elements */
.progress, .progress-bar, .bar, .tm-progress, .task-progress-bar { border-radius: 0 !important; }

/* Square navigation links; the menu control itself remains rounded */
.tm-nav, .tm-nav a, .admin-nav a, .admin-sidebar-bottom a,
.admin-sidebar-bottom button { border-radius: 0 !important; }

/* Buyer/member top logo and avatar remain allowed to be rounded */
.tm-logo img, .member-avatar, .profile-avatar, .user-avatar, .avatar { border-radius: 12px !important; }

/* Shortlink advertisement/task page: one continuous panel */
.task-page .task-card {
  border-radius: 0 !important;
  overflow: hidden !important;
  margin: 14px 0 !important;
}
.task-page .task-card .task-title,
.task-page .task-card .task-body { border-radius: 0 !important; }
.task-page .task-card .keyword-task-box,
.task-page .task-card .copy-box,
.task-page .task-card .get-code-frame,
.task-page .task-card .task-step-card,
.task-page .task-card .captcha-area {
  border-radius: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}
.task-page .task-card .keyword-task-box,
.task-page .task-card .copy-box,
.task-page .task-card .get-code-frame,
.task-page .task-card .task-step-card {
  border-left: 0 !important;
  border-right: 0 !important;
}
.task-page .task-card .task-step-card + .task-step-card { border-top: 1px solid #234968 !important; }
.task-page .task-card .keyword-task-box + .copy-box,
.task-page .task-card .copy-box + .get-code-frame,
.task-page .task-card .get-code-frame + .task-step-card { border-top: 1px solid #234968 !important; }

/* Keep only tiny task controls rounded */
.task-page .copy-btn,
.task-page .back { border-radius: 10px !important; }

/* Avoid accidental horizontal overflow on mobile */
html, body { overflow-x: hidden !important; }
