/* dari demo profile.html */
:root {
    --gold:#d8b45a; --gold-hi:#f0d089; --gold-bright:#f2ce74;
    --jade:#2ea37c; --jade-hi:#7fe5b9; --red:#b3352b; --red-hi:#ff9d94;
    --bg:#0d0b07; --panel:rgba(12,10,6,.78); --line:#3a3208; --line-soft:#221d10;
    --text:#efe6d0; --muted:#8a7a52; --faint:#6f6448;
  }
  body { background:var(--bg); color:var(--text); font-family:'Marcellus',Georgia,serif; min-height:100vh;
         background:#060402 url('bg-690271da8f.jpg') center/cover no-repeat fixed; }
  .font-display { font-family:'Marcellus',Georgia,serif; letter-spacing:.1em; font-weight:400; }
  a { color:var(--gold); }
  .front-nav a { color:#b9a87e; text-decoration:none; padding:.4rem 1rem; border-radius:999px;
                 font-size:.78rem; font-weight:700; letter-spacing:.15em; text-transform:uppercase; }
  .front-nav a:hover { color:var(--gold-hi); }
  .front-nav a.active { background:var(--gold); color:#1a1508; }
  .front-nav a.admin-link { border:1px solid var(--line); color:var(--faint); margin-left:.5rem; }
  .card-jade { background:var(--panel); border:1px solid var(--line); border-radius:1rem;
               box-shadow:0 0 40px rgba(216,180,90,.06), inset 0 1px 0 rgba(216,180,90,.12); }
  .badge-expert { background:var(--gold); color:#1a1508; font-weight:700; }
  .badge-beginner { background:var(--jade); color:#06251d; font-weight:700; }
  .badge-guest { background:var(--red); color:#fff; font-weight:700; }
  .text-gold { color:var(--gold-bright); } .text-jade { color:var(--jade-hi); } .text-neg { color:var(--red-hi); }
  .text-muted2 { color:var(--muted); } .text-faint { color:var(--faint); }
  .wind { display:inline-flex; align-items:center; justify-content:center; width:1.6rem; height:1.6rem;
          background:#1a1610; color:var(--jade-hi); border:1px solid var(--line); border-bottom-width:2px;
          border-radius:.35rem; font-family:'Marcellus',serif; font-weight:700; font-size:.8rem; }
  .table-dark-jade { --bs-table-bg:transparent; --bs-table-color:var(--text); --bs-table-border-color:var(--line-soft); }
  .table-dark-jade thead th { color:var(--faint); font-size:.72rem; letter-spacing:.2em; text-transform:uppercase; }
  .page-watermark { position:fixed; left:50%; top:50%; transform:translate(-50%,-50%);
                    width:min(95vh,900px); opacity:.028; filter:blur(1.5px) saturate(1.05);
                    pointer-events:none; user-select:none; z-index:0; }
  main.container { position:relative; z-index:1; }
  .player-link { cursor:pointer; }
  .player-link:hover { color:var(--gold-hi) !important; text-decoration:underline; }
html,body{overflow-x:hidden;max-width:100%}

  @media (max-width: 768px) {
    header.container { flex-wrap:wrap; gap:.6rem; justify-content:center !important; text-align:center; }
    .front-nav { display:flex; flex-wrap:wrap; gap:.35rem; justify-content:center; }
    .front-nav a { font-size:.62rem !important; padding:.3rem .6rem !important; }
    main.container { padding-left:.5rem; padding-right:.5rem; }
    .tab-content { padding:.6rem !important; }
    .table { font-size:.72rem; }
    .table th, .table td { padding:.3rem .2rem; }
    .table img { width:22px !important; height:22px !important; }
    .table .text-faint { font-size:.52rem !important; }
    h1.font-display { font-size:1.5rem !important; }
    .nav-pills .nav-link { font-size:.62rem; padding:.35rem .7rem; }
  }

  /* bootstrap-independent layout */
  body { margin:0; }
  header.container, main.container { max-width:1140px; margin-left:auto; margin-right:auto; padding-left:1rem; padding-right:1rem; box-sizing:border-box; }
  .d-flex { display:flex !important; }
  .flex-wrap { flex-wrap:wrap !important; }
  .align-items-center { align-items:center !important; }
  .justify-content-between { justify-content:space-between !important; }
  .justify-content-center { justify-content:center !important; }
  .gap-2 { gap:.5rem !important; } .gap-3 { gap:1rem !important; } .gap-4 { gap:1.5rem !important; }
  .text-center { text-align:center !important; }
  .text-end { text-align:right !important; }
  .mx-auto { margin-left:auto !important; margin-right:auto !important; }
  .mb-0 { margin-bottom:0 !important; } .mb-1 { margin-bottom:.25rem !important; } .mb-3 { margin-bottom:1rem !important; } .mb-4 { margin-bottom:1.5rem !important; } .mt-2 { margin-top:.5rem !important; }
  .pb-3 { padding-bottom:1rem !important; } .pb-5 { padding-bottom:3rem !important; }
  .p-3 { padding:1rem !important; } .p-4 { padding:1.5rem !important; } .p-5 { padding:3rem !important; }
  .pt-3 { padding-top:1rem !important; } .pb-1 { padding-bottom:.25rem !important; }
  .py-4 { padding-top:1.5rem !important; padding-bottom:1.5rem !important; }
  .fs-5 { font-size:1.25rem !important; } .fs-3 { font-size:1.75rem !important; }
  .fw-bold { font-weight:700 !important; }
  .nav { display:flex; flex-wrap:wrap; list-style:none; padding-left:0; margin:0; }
  .nav-item { list-style:none; }
  .nav-pills { gap:.5rem; }
  .nav-pills .nav-link { border:0; border-radius:.4rem; padding:.5rem 1rem; cursor:pointer; font-family:inherit; white-space:nowrap; }
  .row { display:flex; flex-wrap:wrap; margin-left:-.75rem; margin-right:-.75rem; }
  .row > [class*="col"] { padding-left:.75rem; padding-right:.75rem; box-sizing:border-box; }
  .col { flex:1 0 0%; } .col-md-6 { flex:0 0 100%; max-width:100%; }
  .col-md-3 { flex:0 0 100%; max-width:100%; } .col-md-10 { flex:1 1 auto; min-width:0; } .col-md-2 { flex:0 0 auto; }
  @media (min-width: 768px) {
    .col-md-6 { flex:0 0 50%; max-width:50%; }
    .col-md-3 { flex:0 0 25%; max-width:25%; }
    .col-md-2 { flex:0 0 16.6667%; max-width:16.6667%; }
    .col-md-10 { flex:0 0 83.3333%; max-width:83.3333%; }
  }
  .g-3 { gap:1rem; }
  .table { width:100%; border-collapse:collapse; }
  .table th, .table td { border-bottom:1px solid var(--line-soft, #221d10); padding:.4rem .5rem; }
  .table-sm th, .table-sm td { padding:.25rem .35rem; }
  .text-nowrap { white-space:nowrap !important; }
  .rounded-circle { border-radius:50% !important; }
  .w-100 { width:100% !important; }
  .h-100 { height:100% !important; }
  .small { font-size:.85em; }
  .text-muted { color:#8a7a52 !important; }
  .text-muted2 { color:#8a7a52 !important; }
  .text-decoration-none { text-decoration:none !important; }
  .d-inline-block { display:inline-block !important; }
  .me-1 { margin-right:.25rem !important; } .me-2 { margin-right:.5rem !important; } .ms-1 { margin-left:.25rem !important; }
  .btn { display:inline-block; padding:.45rem .9rem; border-radius:.4rem; border:1px solid transparent; cursor:pointer; text-decoration:none; font-family:inherit; font-size:.9rem; }
  .btn-sm { padding:.25rem .6rem; font-size:.8rem; }
  .btn-jade { background:#2ea37c; color:#fff; }
  .btn-outline-secondary { border:1px solid #6c757d; color:#cfc3a4; background:transparent; }
  .btn-outline-danger { border:1px solid #b3352b; color:#ff9d94; background:transparent; }
  .form-control { display:block; width:100%; padding:.45rem .6rem; border:1px solid #ced4da; border-radius:.35rem; font-family:inherit; font-size:.9rem; box-sizing:border-box; }
  .form-check { display:block; margin-bottom:.4rem; }
  .form-check-input { margin-right:.4rem; }
  .card { background:#fff; }
  code { font-family:monospace; font-size:.85em; }
  .flex-grow-1 { flex-grow:1 !important; }
  .align-middle { vertical-align:middle !important; }

@font-face { font-family:'Marcellus'; src:url('marcellus.ttf') format('truetype'); font-display:swap; }
.font-display{font-family:'Marcellus',Georgia,serif !important;}

/* tambahan utility untuk view CI4 */
.mt-3 { margin-top:1rem !important; }
.mt-4 { margin-top:1.5rem !important; }
.fs-4 { font-size:1.5rem !important; }
.border-top { border-top:1px solid var(--line-soft) !important; }
