
/* =========================================================
   RONIN LINEN EFFECT STUDIO — LOCKED STANDARD SHELL
   Use this file on every Ronin Studio page.
   ========================================================= */

:root{
  --ronin-shell-text:#e4e7e9;
  --ronin-shell-muted:#c7ccd0;
  --ronin-shell-border:#5f6a72;
  --ronin-shell-bg1:#3b444a;
  --ronin-shell-bg2:#232a2f;
}

*,*::before,*::after{
  box-sizing:border-box;
}

html,body{
  margin:0;
  min-height:100%;
}

body{
  position:relative;
  background:#090d0f !important;
  color:#f2f3f4;
  font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  line-height:1.4;
  -webkit-font-smoothing:antialiased;
}

button,input,select,textarea{
  font:inherit;
}

/* Exact approved Ronin anchor-pattern page background */
body::before{
  content:"" !important;
  position:fixed !important;
  inset:0 !important;
  z-index:-2 !important;
  pointer-events:none !important;
  background-image:url("./ronin-standard-bg.jpg") !important;
  background-size:cover !important;
  background-position:center top !important;
  background-repeat:no-repeat !important;
  opacity:1 !important;
  filter:none !important;
}

/* Header mount */
#roninStandardHeader{
  width:100%;
  position:relative;
  z-index:1000;
}

/* Exact standard top bar */
.roninStdTopbar{
  display:grid;
  grid-template-columns:440px minmax(0,1fr) auto;
  align-items:center;
  gap:18px;
  padding:8px 14px 12px;
  border-bottom:1px solid rgba(255,255,255,.08);
  box-sizing:border-box;
  background:rgba(7,10,12,.22);
  backdrop-filter:blur(1.5px);
  -webkit-backdrop-filter:blur(1.5px);
}

.roninStdBrand{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:0;
  text-decoration:none;
  color:inherit;
}

.roninStdBrand img{
  width:106px;
  height:88px;
  object-fit:contain;
  flex:0 0 auto;
}

.roninStdBrandText{
  min-width:0;
}

.roninStdBrandName{
  color:#fff;
  font-size:27px;
  font-weight:950;
  letter-spacing:.035em;
  line-height:.95;
  text-transform:uppercase;
}

.roninStdBrandTag{
  color:var(--ronin-shell-muted);
  font-size:8px;
  letter-spacing:.36em;
  margin-top:8px;
  white-space:nowrap;
}

/* Exact menu system */
.roninStdNav{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:8px;
  flex-wrap:nowrap;
  min-width:0;
}

.roninStdNav a{
  border:1px solid transparent;
  background:transparent;
  color:var(--ronin-shell-text);
  border-radius:7px;
  padding:9px 12px;
  font-size:10px;
  font-weight:900;
  letter-spacing:.08em;
  cursor:pointer;
  text-decoration:none;
  white-space:nowrap;
  line-height:1.2;
  box-sizing:border-box;
  transition:background .16s ease,border-color .16s ease,color .16s ease;
}

.roninStdNav a:hover,
.roninStdNav a.active{
  border-color:var(--ronin-shell-border);
  background:linear-gradient(180deg,var(--ronin-shell-bg1),var(--ronin-shell-bg2));
  color:#fff;
}

.roninStdNavStack{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:center;
  gap:0;
}

.roninStdNavStack > a{
  width:100%;
  text-align:left;
}

.roninStdNavStack .roninStdSubLink{
  margin-top:0;
}

/* Search / account controls */
.roninStdIconbar{
  display:flex;
  gap:9px;
}

.roninStdIconbtn{
  width:42px;
  height:42px;
  border-radius:50%;
  border:1px solid #6a747b;
  background:#151b1f;
  color:white;
  display:grid;
  place-items:center;
  font-size:20px;
  cursor:pointer;
  text-decoration:none;
  box-sizing:border-box;
  transition:background .16s ease,border-color .16s ease;
}

.roninStdIconbtn:hover,
.roninStdIconbtn.active{
  border-color:#8b969d;
  background:linear-gradient(180deg,#3b444a,#232a2f);
}

/* Shared credit display beside the standard controls */
.roninStdCreditBadge{
  display:flex;
  align-items:center;
  gap:7px;
  min-height:34px;
  padding:0 10px;
  border:1px solid rgba(255,255,255,.16);
  border-radius:8px;
  background:rgba(10,14,16,.70);
  color:#aeb7bc;
  font-size:9px;
  font-weight:900;
  letter-spacing:.10em;
  white-space:nowrap;
}
.roninStdCreditBadge strong{
  color:#fff;
  font-size:13px;
  letter-spacing:0;
}

/* Responsive behavior keeps the same look while allowing smaller screens */
@media(max-width:1450px){
  .roninStdTopbar{
    grid-template-columns:390px minmax(0,1fr) auto;
    gap:10px;
  }
  .roninStdBrand img{width:92px;height:76px}
  .roninStdBrandName{font-size:24px}
  .roninStdNav{gap:4px}
  .roninStdNav a{padding:8px 8px;font-size:9px}
}

@media(max-width:1120px){
  .roninStdTopbar{
    grid-template-columns:1fr auto;
  }
  .roninStdNav{
    grid-column:1 / -1;
    grid-row:2;
    justify-content:flex-start;
    overflow-x:auto;
    padding-bottom:2px;
    scrollbar-width:thin;
  }
  .roninStdIconbar{
    grid-column:2;
    grid-row:1;
  }
}

@media(max-width:700px){
  .roninStdTopbar{
    padding:7px 8px 9px;
    grid-template-columns:1fr auto;
  }
  .roninStdBrand img{width:62px;height:52px}
  .roninStdBrandName{font-size:18px}
  .roninStdBrandTag{font-size:6px;letter-spacing:.23em}
  .roninStdNav a{font-size:8px;padding:7px 8px}
  .roninStdIconbtn{width:36px;height:36px;font-size:17px}
  .roninStdCreditBadge{display:none}
}
