.ausnews-honeypot{display:none!important;visibility:hidden!important;height:0;overflow:hidden;}

/*
  Theme-safe styling
  - Scoped to .ausnews-* classes (no global element selectors)
  - Uses subtle translucent surfaces so it blends into BOTH light and dark themes
  - Allows themes to override easily (low specificity via :where)
*/

/* Base tokens applied to any AusNews UI block (vote/share/dashboard/cards/etc) */
:where(.ausnews-notice,.ausnews-level-card,.ausnews-vote,.ausnews-share,.ausnews-reporter-card,.ausnews-share-preview,.ausnews-dashboard){
  --ausnews-surface: rgba(0,0,0,.03);
  --ausnews-surface-strong: rgba(0,0,0,.06);
  --ausnews-border: rgba(0,0,0,.14);
  --ausnews-muted: rgba(0,0,0,.72);
  --ausnews-accent: #111827;
  --ausnews-accent-contrast: #ffffff;
  color: inherit;
}

/* Common theme toggles (cover most WordPress light/dark implementations) */
:where(html[data-theme="dark"],html[data-color-scheme="dark"],body.dark,body.dark-mode,body.theme-dark,.dark) :where(.ausnews-notice,.ausnews-level-card,.ausnews-vote,.ausnews-share,.ausnews-reporter-card,.ausnews-share-preview,.ausnews-dashboard){
  --ausnews-surface: rgba(255,255,255,.06);
  --ausnews-surface-strong: rgba(255,255,255,.10);
  --ausnews-border: rgba(255,255,255,.18);
  --ausnews-muted: rgba(255,255,255,.75);
  --ausnews-accent: rgba(255,255,255,.92);
  --ausnews-accent-contrast: rgba(0,0,0,.92);
}

/* Notices */
.ausnews-notice{padding:10px 12px;border-radius:10px;margin:12px 0;border:1px solid var(--ausnews-border);background:var(--ausnews-surface);}
.ausnews-notice-success{background:rgba(16,185,129,.10);border-color:rgba(16,185,129,.35);}
.ausnews-notice-error{background:rgba(239,68,68,.10);border-color:rgba(239,68,68,.35);}
.ausnews-notice-info{background:rgba(59,130,246,.10);border-color:rgba(59,130,246,.35);}
.ausnews-notice-warning{background:rgba(245,158,11,.10);border-color:rgba(245,158,11,.35);}

/* XP/Levels */
.ausnews-level-card{border:1px solid var(--ausnews-border);border-radius:14px;padding:14px;margin:12px 0;background:var(--ausnews-surface);}
.ausnews-level-row{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px;gap:10px;}
.ausnews-progress{height:10px;border-radius:999px;background:var(--ausnews-surface-strong);overflow:hidden;}
.ausnews-progress-bar{height:10px;background:var(--ausnews-accent);border-radius:999px;}

/* Voting */
.ausnews-vote{display:flex;gap:10px;align-items:center;margin:12px 0;flex-wrap:wrap;}
.ausnews-vote-btn{border:1px solid var(--ausnews-border);border-radius:999px;padding:8px 12px;background:var(--ausnews-surface);cursor:pointer;color:inherit;line-height:1;font-weight:600;display:inline-flex;align-items:center;gap:6px;}
.ausnews-vote-btn span{color:inherit;}
.ausnews-vote-btn:disabled{opacity:.55;cursor:not-allowed;}
.ausnews-vote-btn:hover{background:var(--ausnews-surface-strong);} 
.ausnews-vote-btn.is-active{background:var(--ausnews-accent);border-color:var(--ausnews-accent);color:var(--ausnews-accent-contrast);}
.ausnews-vote-btn.is-active .ausnews-like-count,.ausnews-vote-btn.is-active .ausnews-dislike-count{color:var(--ausnews-accent-contrast);}
.ausnews-hint{opacity:.75;margin-left:6px;}

/* Sharing */
.ausnews-share{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin:12px 0;}
.ausnews-share-label{opacity:.75;}
.ausnews-share-link{border:1px solid var(--ausnews-border);border-radius:999px;padding:6px 10px;text-decoration:none;display:inline-block;background:var(--ausnews-surface);color:inherit;}
.ausnews-share-link:hover{background:var(--ausnews-surface-strong);}

/* Reporter cards */
.ausnews-reporter-card{border:1px solid var(--ausnews-border);border-radius:16px;padding:14px;margin:18px 0;background:var(--ausnews-surface);}
.ausnews-reporter-card-inner{display:flex;gap:12px;align-items:flex-start;}
.ausnews-reporter-photo{width:64px;height:64px;border-radius:16px;object-fit:cover;background:var(--ausnews-surface-strong);}
.ausnews-reporter-photo-placeholder{display:block;}
.ausnews-reporter-top{display:flex;gap:10px;align-items:center;flex-wrap:wrap;}
.ausnews-reporter-badge{font-size:12px;border:1px solid var(--ausnews-border);border-radius:999px;padding:3px 8px;opacity:.9;}
.ausnews-reporter-sub{display:flex;gap:8px;align-items:center;margin-top:6px;flex-wrap:wrap;}
.ausnews-chip{font-size:12px;background:var(--ausnews-surface-strong);border-radius:999px;padding:3px 8px;}
.ausnews-reporter-bio{margin:10px 0 0 0;opacity:.92;}
.ausnews-reporter-socials{margin-top:8px;display:flex;gap:10px;flex-wrap:wrap;}
.ausnews-reporter-socials a{font-size:12px;text-decoration:none;border-bottom:1px dotted currentColor;}

.ausnews-comment-report{font-size:12px;opacity:.85;margin-left:8px;}

/* Social share preview */
.ausnews-share-preview{display:flex;gap:12px;margin:10px 0 0;padding:12px;border:1px solid var(--ausnews-border);border-radius:14px;background:var(--ausnews-surface);}
.ausnews-share-preview-image img{width:92px;height:92px;object-fit:cover;border-radius:12px;display:block;background:var(--ausnews-surface-strong);}
.ausnews-share-preview-body{flex:1;min-width:0;}
.ausnews-share-preview-title{font-weight:600;margin-bottom:4px;}
.ausnews-share-preview-desc{opacity:.88;margin-bottom:6px;}
.ausnews-share-preview-url{font-size:12px;opacity:.7;word-break:break-all;}

/* Dashboard */
.ausnews-dashboard{margin:14px 0; color-scheme: light dark;}
.ausnews-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 12px;}
.ausnews-tab{border:1px solid var(--ausnews-border);border-radius:999px;padding:6px 10px;text-decoration:none;background:var(--ausnews-surface);color:inherit;}
.ausnews-tab:hover{background:var(--ausnews-surface-strong);}
.ausnews-tab.active{background:var(--ausnews-accent);color:var(--ausnews-accent-contrast);border-color:var(--ausnews-accent);}
.ausnews-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:12px;}
.ausnews-card{border:1px solid var(--ausnews-border);border-radius:16px;padding:14px;background:var(--ausnews-surface);}
.ausnews-list{margin:0;padding-left:18px;}
.ausnews-muted{opacity:.75;}
.ausnews-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;font-size:12px;}
.ausnews-form .ausnews-field{margin:10px 0;}
.ausnews-form label{display:block;font-weight:600;margin-bottom:4px;}
.ausnews-form input[type="text"],
.ausnews-form input[type="url"],
.ausnews-form input[type="email"],
.ausnews-form input[type="number"],
.ausnews-form textarea,
.ausnews-form select{width:100%;max-width:520px;}
.ausnews-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center;}
.ausnews-button{border:1px solid var(--ausnews-border);border-radius:12px;padding:8px 12px;text-decoration:none;display:inline-block;background:var(--ausnews-surface);cursor:pointer;color:inherit;}
.ausnews-button:hover{background:var(--ausnews-surface-strong);}
.ausnews-button.primary{background:var(--ausnews-accent);color:var(--ausnews-accent-contrast);border-color:var(--ausnews-accent);}
.ausnews-table{width:100%;border-collapse:collapse;}
.ausnews-table th,.ausnews-table td{border-bottom:1px solid var(--ausnews-border);padding:8px 6px;text-align:left;vertical-align:top;}
.ausnews-table th{font-size:12px;opacity:.75;}
.ausnews-small{font-size:12px;}
.ausnews-link{color:inherit;opacity:.85;text-decoration:underline;}
.ausnews-link:hover{opacity:1;}
.ausnews-sep{margin:0 6px;opacity:.55;}

/* Full-page styled shortcode shells (Login / Sign up / Reporter apply) */
.ausnews-page{margin:16px auto;padding:18px 12px;max-width:1100px;}
.ausnews-page-inner{width:100%;}
.ausnews-page-hero{margin:0 0 14px;}
.ausnews-page-title{font-size:34px;line-height:1.12;margin:0 0 8px;}
.ausnews-page-subtitle{margin:0;max-width:70ch;opacity:.82;}
.ausnews-page-links{margin-top:12px;display:flex;flex-wrap:wrap;gap:8px;}
.ausnews-pill{display:inline-flex;align-items:center;gap:8px;border:1px solid var(--ausnews-border);padding:6px 10px;border-radius:999px;text-decoration:none;background:var(--ausnews-surface);color:inherit;font-size:13px;}
.ausnews-pill:hover{background:var(--ausnews-surface-strong);}
.ausnews-pill[aria-disabled="true"]{opacity:.6;cursor:not-allowed;}
.ausnews-page-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:16px;align-items:start;}
.ausnews-page-main,.ausnews-page-aside{min-width:0;}
@media (max-width:880px){.ausnews-page-grid{grid-template-columns:1fr;}}

/* Auth and apply forms */
.ausnews-auth-page .ausnews-card{border-radius:18px;}
.ausnews-auth-footer{margin-top:10px;display:flex;flex-wrap:wrap;gap:8px;align-items:center;}
.ausnews-auth-page #loginform p{margin:0 0 12px;}
.ausnews-auth-page #loginform label{display:block;font-weight:600;margin:0 0 4px;}
.ausnews-auth-page #loginform input[type="text"],
.ausnews-auth-page #loginform input[type="password"],
.ausnews-auth-page .ausnews-form input[type="text"],
.ausnews-auth-page .ausnews-form input[type="email"],
.ausnews-auth-page .ausnews-form input[type="password"],
.ausnews-reporter-apply-page input[type="text"],
.ausnews-reporter-apply-page input[type="url"],
.ausnews-reporter-apply-page input[type="email"],
.ausnews-reporter-apply-page input[type="number"],
.ausnews-reporter-apply-page textarea,
.ausnews-reporter-apply-page select{width:100%;max-width:640px;padding:10px 12px;border:1px solid var(--ausnews-border);border-radius:12px;background:var(--ausnews-surface);color:inherit;}
.ausnews-auth-page #loginform input[type="submit"]{border:1px solid var(--ausnews-border);border-radius:12px;padding:8px 12px;background:var(--ausnews-accent);color:var(--ausnews-accent-contrast);cursor:pointer;}
.ausnews-auth-page #loginform input[type="submit"]:hover{filter:brightness(.97);}

/* Reporter badge styles (subtle overlays; still theme-friendly) */
.ausnews-reporter-card.style-gold .ausnews-reporter-badge{background:rgba(245, 158, 11, 0.12);border-color:rgba(245, 158, 11, 0.35);}
.ausnews-reporter-card.style-mint .ausnews-reporter-badge{background:rgba(16, 185, 129, 0.12);border-color:rgba(16, 185, 129, 0.35);}
.ausnews-reporter-card.style-sunset .ausnews-reporter-badge{background:rgba(244, 63, 94, 0.10);border-color:rgba(244, 63, 94, 0.35);}
.ausnews-reporter-card.style-mono .ausnews-reporter-badge{background:var(--ausnews-accent);color:var(--ausnews-accent-contrast);border-color:var(--ausnews-accent);}
