/* ore-theme.css — OreUI skin for CCTiers. Loaded AFTER style.css / site.css.
   Flat stone greys, hard 5px bevels, no gradients, glows, glass or rounded corners. */
:root{
  --bg:#313233; --card:#48494a; --muted:#b1b2b5; --accent:#3c8527; --accent-dark:#2f6b1f;
  --glass:transparent; --outline:#1e1e1f;
  --ore-panel:#48494a; --ore-panel-hi:#6a6c70; --ore-panel-lo:#545658; --ore-ink:#1e1e1f;
  --ore-text:#fff; --ore-sunken:#333; --ore-gold:#ffe866;
}
*{border-radius:0 !important}
html,body{
  background:#313233 !important; color:#fff;
  font-family:"Minecraft Seven","Minecraft",ui-monospace,"Segoe UI",Arial,sans-serif;
  font-size:15px; line-height:1.45;
}
a{color:#ffe866}
.muted,.small,.tag,.page-info,.mp-card-creator{color:var(--muted) !important}

/* Topbar */
.topbar{background:#48494a !important;border:0 !important;border-bottom:5px solid #1e1e1f !important;
  box-shadow:inset 0 5px 0 #6a6c70}
.logo{box-shadow:none !important;image-rendering:pixelated}
.brand-text h1{font-size:20px;letter-spacing:.5px}
.nav a{color:#fff !important;padding:6px 12px;margin-left:6px !important;text-decoration:none !important;
  background:#313233;border:3px solid;border-color:#6a6c70 #545658 #545658 #6a6c70;font-weight:700}
.nav a:hover{background:#3c8527;border-color:#639d52 #4f913c #4f913c #639d52}

/* Surfaces → OreUI "general" panels */
.card,.stats-card,.modal-panel,.panel,.mp-card,.np-card,.news-card,.pdp-info-card,.pdp-description-card,
.review-form-card,.comment-card,.store-loginbar,.store-hero,.leaderboards-root,.notice,.gift-form,.tabs-wrap,
.preview-box{
  background:var(--ore-panel) !important; color:#fff;
  border:5px solid !important; border-color:#6a6c70 #545658 #545658 #6a6c70 !important;
  outline:2.5px solid #000; outline-offset:-2px; box-shadow:none !important; backdrop-filter:none !important;
}
.store-hero,.hero{background:#48494a !important}
.hero{background:transparent !important;border:0 !important}
.card-animated{transition:none !important}
.card-animated:hover,.mp-card:hover,.np-card:hover{transform:none !important;background:#545658 !important}
.card h4,.page-hero h2,.store-hero-text h2,.hero h2{text-transform:none;letter-spacing:0}
.page-hero h2,.hero h2{font-size:30px;font-weight:700}
.panel h3,.stats-card h3{border-bottom:3px solid #1e1e1f;padding-bottom:6px}

/* Buttons → OreUI button look (bevel + bottom ledge). Real oreui attrs are added by ore-theme.js;
   this is the fallback so nothing looks unstyled if JS is slow. */
.btn,button.btn,a.btn{
  position:relative; display:inline-block; text-decoration:none; text-align:center;
  background:#3c8527 !important; color:#fff !important; font:inherit; font-weight:700; box-shadow:none !important;
  border:5px solid !important; border-color:#639d52 #4f913c #4f913c #639d52 !important; padding:5px 15px !important;
  margin-bottom:10px; transform:none; transition:none !important; cursor:pointer;
}
.btn.ghost{background:#48494a !important;border-color:#6a6c70 #545658 #545658 #6a6c70 !important}
/* in OreUI buttons the ledge pseudo-elements do the 3D work; make sure they are positioned */
[oreui-type="button"]{position:relative;display:inline-block;margin-bottom:10px;font:inherit;font-weight:700;text-decoration:none}
.btn[oreui-type="button"]{border-radius:0}

/* Inputs → OreUI sunken input */
input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=range]),select,textarea{
  background:#333 !important; color:#fff !important; border:0 !important;
  outline:2.5px solid #1b1b1b !important; outline-offset:-2px; box-shadow:inset 0 5px 0 #232323 !important;
  padding:10px 12px !important; font:inherit;
}
input:focus,select:focus,textarea:focus{outline-color:#fff !important;outline-offset:0 !important}
input::placeholder,textarea::placeholder{color:#b1b2b5 !important}
.store-toolbar .search-wrap::before{content:'' !important}
.store-toolbar .search-wrap input{padding-left:12px !important}

/* Tables / leaderboard */
.leader-table thead th{color:#fff !important;background:#313233;border-bottom:3px solid #1e1e1f}
.leader-table tbody td{border-top:2px solid #313233 !important}
.leader-table tbody tr:nth-child(even){background:rgba(0,0,0,.12)}
.leader-table tbody tr:hover{background:#545658}
.avatar{image-rendering:pixelated;border:2px solid #1e1e1f}

/* Tabs / pills / badges */
.tabs-nav button,.subtabs button,.tab,.subtab{
  background:#48494a !important;color:#fff !important;border:3px solid !important;
  border-color:#6a6c70 #545658 #545658 #6a6c70 !important;box-shadow:none !important;font:inherit;font-weight:700;cursor:pointer}
.tabs-nav button.active,.subtabs button.active,.tab.active,.subtab.active{background:#3c8527 !important;border-color:#639d52 #4f913c #4f913c #639d52 !important}
.pill,.badge-pill{border:2px solid #000 !important;box-shadow:none !important}
.title-badge{border:2px solid #000}
.rank{border:2px solid #000}
.badge-pill,.pill{background:#313233 !important;color:#fff !important}

/* Modal */
.modal{background:rgba(0,0,0,.7) !important}
.modal-close{color:#fff !important}
hr,.markup-hr{border:0;border-top:3px solid #1e1e1f}
.footer{color:var(--muted)}
img.pixel,.avatar,.mp-card-img img{image-rendering:pixelated}
::selection{background:#3c8527;color:#fff}

/* Login + download pages (they ship inline <style>, so use !important + page-scoped selectors) */
.login-page{background:#313233 !important}
.login-card,.dl-hero,.dl-card,.dl-note,.info-grid .card,.login-hint{
  background:#48494a !important;color:#fff !important;box-shadow:none !important;
  border:5px solid !important;border-color:#6a6c70 #545658 #545658 #6a6c70 !important;outline:2.5px solid #000;outline-offset:-2px}
.login-hint{background:#333 !important;border-width:3px !important}
.login-hint code,.inline-code,code{background:#1e1e1f !important;color:#ffe866 !important}
.login-field label,.login-card .subtitle,.login-logo .brand-sub,.dl-hero p,.dl-card p,.dl-card .os,.dl-version{color:#b1b2b5 !important}
.login-field input{background:#333 !important;border:0 !important;outline:2.5px solid #1b1b1b !important;outline-offset:-2px;box-shadow:inset 0 5px 0 #232323 !important;color:#fff !important}
.login-field input:focus{outline-color:#fff !important;outline-offset:0 !important}
.login-btn{background:#3c8527 !important;color:#fff !important;border:5px solid !important;border-color:#639d52 #4f913c #4f913c #639d52 !important;box-shadow:none !important}
.login-btn:hover{background:#4a9a33 !important}
.login-btn:disabled{background:#353637 !important;border-color:#4e5053 #3e4041 #3e4041 #4e5053 !important}
.login-footer a,.login-status.ok{color:#ffe866 !important}
.login-status.err{color:#ff7b7b !important}
.divider{border-color:#1e1e1f !important;background:#1e1e1f !important}

/* Restore tier glow/shimmer + nameplates (these rely on box-shadow animation, text-shadow, overflow) */
.rank.gold{animation:pulse-gold 4s infinite !important}
.rank.silver{animation:pulse-silver 4.2s infinite !important}
.rank.bronze{animation:pulse-bronze 4.6s infinite !important}
.rank{position:relative;overflow:visible}
.nameplate-wrap{overflow:hidden;isolation:isolate}
.nameplate-wrap .player-link{text-shadow:0 1px 3px rgba(0,0,0,.9),0 0 6px rgba(0,0,0,.7) !important}
.np-card-video-wrap{background:#1e1e1f !important}
