/* NathanM11MC – Blockworld / survival theme (blue-accent edition)
   Loaded after the local Tailwind build. Keeps PHP, CMS and registration logic untouched. */
:root{--brand:#62d0f0;--brand-light:#8fe4fb;--brand-dark:#2a98c3;--brand-deep:#116a92;--stone:#d1d5c8;--stone-border:#b7c0af;--paper:#fffef7;--earth:#694d36;--spruce:#14251c;--deep:#0d1b15;--text:#1a2920;--secondary:#586558}
html{scroll-behavior:smooth}
body{font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
body.nm-public{background-color:#eef0e6;background-image:linear-gradient(90deg,#e1e6d955 1px,transparent 1px),linear-gradient(#e1e6d955 1px,transparent 1px);background-size:32px 32px;color:var(--text)}
body.nm-public::selection{background:var(--brand);color:#081b24}
button,a,summary{transition:background-color .16s,color .16s,border-color .16s,transform .16s,box-shadow .16s}
a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,summary:focus-visible,select:focus-visible{outline:3px solid var(--brand-dark);outline-offset:3px}
/* Shared navigation: dark spruce with Nathan blue active states */
.nm-header{background:#102219;background-image:linear-gradient(#24453122 1px,transparent 1px),linear-gradient(90deg,#24453122 1px,transparent 1px);background-size:22px 22px;border-bottom:4px solid var(--brand-dark);box-shadow:0 5px 0 #101f1640}
.nm-nav-shell{max-width:1320px}
.nm-nav-link{display:inline-flex;align-items:center;padding:10px 10px;border:1px solid transparent;color:#dee9db;font-weight:800;font-size:13px;border-radius:3px;white-space:nowrap}
.nm-nav-link:hover{background:#173547;color:white;border-color:#2f7093}
.nm-nav-link.nm-active{background:#1f4e69;color:#fff;border-color:#4cbce4;box-shadow:inset 0 -3px #12384a}
.nm-join,.nm-watch{display:inline-flex;align-items:center;justify-content:center;padding:11px 14px;font-size:13px;font-weight:850;white-space:nowrap;border-radius:4px}
.nm-join{color:#0c2330;background:var(--brand);border:2px solid #bceffd;box-shadow:0 4px 0 #1a6f93}
.nm-join:hover{background:var(--brand-light);transform:translateY(-2px);box-shadow:0 6px 0 #1a6f93}
.nm-watch{background:#1b3141;border:2px solid #4e7e99;color:white;box-shadow:0 4px 0 #091810}
.nm-watch:hover{background:#24455b}
.nm-mobile-menu summary::-webkit-details-marker{display:none}.nm-menu-button{border:2px solid #42738e;padding:10px 13px;background:#173547;border-radius:3px}.nm-menu-panel{background:#173547;border:2px solid #69c0df;box-shadow:6px 6px 0 #101c13;border-radius:3px!important}
.nm-header img{border-radius:4px!important;border:2px solid #7bbdd2;image-rendering:auto}
.nm-header small{letter-spacing:.13em;color:#b4dbe6}
/* Shared page and panels */
.nm-public .rounded-2xl{border-radius:6px}
.nm-public .rounded-xl{border-radius:5px}
.nm-public .rounded-lg{border-radius:4px}
.nm-public .bg-white{background:#fffef7}
.nm-public .text-slate-600{color:#576657}
.nm-public .text-slate-500{color:#657267}
.nm-public .text-sky-700{color:var(--brand-deep)}
.nm-public a.text-sky-700:hover{color:#0c5d81}
.nm-public .text-\[\#62d0f0\]{color:var(--brand-dark)}
.nm-public .shadow-sm{box-shadow:0 4px 0 #d4dbcd}
.nm-public .border-slate-100,.nm-public .border-slate-200{border-color:#c4cfbc}
.nm-section-heading{font-size:clamp(1.8rem,3vw,2.35rem);font-weight:900;line-height:1.15;color:#213a29;letter-spacing:-.045em}
.nm-eyebrow{font-size:11px;letter-spacing:.15em;text-transform:uppercase;color:var(--brand-deep);font-weight:900}
/* Fully local voxel landscape replaces the abstract tech gradient. */
.nm-hero{position:relative;isolation:isolate;overflow:hidden;min-height:445px;background:#12251c;color:white;border-radius:7px;border:3px solid #31513a;border-bottom:7px solid #243b27;box-shadow:0 12px 0 #2237251e,0 24px 42px #14272018}
.nm-hero::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#11241dfc 0%,#123145f5 28%,#15394ede 47%,#0e263270 74%,#0c241a26 100%)}
.nm-hero::after{content:"";position:absolute;z-index:4;inset:0 0 auto;height:6px;background:repeating-linear-gradient(90deg,var(--brand) 0 36px,var(--brand-dark) 36px 62px,#a6ebff 62px 72px)}
.nm-hero-art{position:absolute;inset:0 0 0 auto;width:68%;height:100%;object-fit:cover;object-position:center;z-index:-2;image-rendering:auto}
.nm-hero-copy{position:relative;z-index:2;max-width:790px}
.nm-hero h1{font-size:clamp(2.45rem,5.1vw,4.45rem);font-weight:950;line-height:1.1;letter-spacing:-.055em;text-shadow:3px 4px 0 #08180f}
.nm-hero h1 em{font-style:normal;color:var(--brand)}
.nm-hero .nm-eyebrow{display:inline-flex;align-items:center;gap:8px;color:#d6f5ff;background:#0d2834d9;padding:7px 12px;border:1px solid #3a7892;font-size:11px;letter-spacing:.12em}
.nm-cta,.nm-outline{display:inline-flex;justify-content:center;align-items:center;padding:13px 21px;font-size:14px;font-weight:900;border-radius:4px;min-height:50px}
.nm-cta{color:#0d2530;background:var(--brand);border:2px solid #c0f2ff;box-shadow:0 5px 0 #1a6f93;text-shadow:none}
.nm-cta:hover{background:var(--brand-light);transform:translateY(-2px);box-shadow:0 7px 0 #1a6f93}
.nm-outline{color:white;background:#163443ba;border:2px solid #6ba2bc;box-shadow:0 5px 0 #0b211b}
.nm-outline:hover{background:#24485c;transform:translateY(-2px);box-shadow:0 7px 0 #0b211b}
.nm-hero h2{max-width:760px;text-shadow:2px 3px #102014}
/* A small block pattern is used on real elements, not on text. */
.nm-feature,.nm-card{border:2px solid #c6d0bd;background:var(--paper);border-radius:6px;box-shadow:0 5px 0 #d5ddcf,0 12px 22px #20321b0d}
.nm-feature{padding:25px;position:relative}
.nm-feature::before{content:"";position:absolute;inset:0 0 auto;height:4px;background:linear-gradient(90deg,var(--brand),#d0d7c0 65%,#d0d7c0)}
.nm-feature h3{font-size:19px;font-weight:850;color:#203827}
.nm-feature p{margin-top:9px;line-height:1.65;font-size:14px;color:#59695a}
.nm-feature .uppercase{color:var(--brand-deep)}
.nm-feature h2{color:#1e3324}
.nm-feature button{color:var(--brand-deep)}
.nm-feature button:hover{text-decoration:underline}
.nm-card{display:block;overflow:hidden}
.nm-card:hover{border-color:#8fc7dd;box-shadow:0 5px 0 #b7ddea,0 14px 32px #24351a1d;transform:translateY(-2px)}
.nm-card img{width:100%;height:215px;object-fit:cover}
.nm-card-body{padding:21px}
.nm-card h2,.nm-card h3{color:#213629}
.nm-tag{display:inline-block;background:#e4f7fd;color:#0e6f97;border:1px solid #9dd9ed;font-size:11px;font-weight:900;padding:7px 11px;text-transform:uppercase;letter-spacing:.07em;border-radius:3px}
.nm-prose{color:#3b503f;line-height:1.9}.nm-prose p{margin-bottom:1rem;white-space:pre-wrap}
.nm-voxel-icon{width:54px;height:54px;object-fit:contain;image-rendering:pixelated;display:block;margin-bottom:16px;filter:drop-shadow(3px 3px 0 #b7ddea)}
.nm-world-label{display:inline-flex;align-items:center;gap:7px;font-size:12px;color:#dcf7ff;font-weight:800;background:#173849;border:1px solid #4c8da5;padding:8px 12px;border-radius:2px;letter-spacing:.08em}
.nm-world-label .nm-dot{background:var(--brand);width:7px;height:7px;box-shadow:0 0 0 2px #2b6e88}
.nm-home-topline{display:flex;align-items:center;gap:7px;font-weight:900;letter-spacing:.11em;font-size:11px;color:var(--brand-deep);text-transform:uppercase;margin-bottom:13px}
.nm-home-topline:before{content:"";display:block;width:14px;height:14px;background:var(--brand);box-shadow:4px 4px 0 #2b5f78}
/* Native forms, staff tools, and login */
.nm-input{display:block;width:100%;padding:11px 13px;background:#fffef9;border:2px solid #aebdad;color:#19291f;border-radius:4px}
.nm-input:focus{outline:2px solid var(--brand-dark);border-color:var(--brand-dark)}
.nm-label{font-weight:800;color:#29432f;margin-bottom:7px;font-size:13px;display:block}
.nm-btn{display:inline-block;background:#288fb4;color:#fff;font-weight:850;border:2px solid #5ecbed;border-bottom:4px solid #175d78;padding:10px 17px;border-radius:4px;cursor:pointer}
.nm-btn:hover{background:#3aaad0}
.nm-btn-danger{background:#ac3933;border-color:#ca5b53;border-bottom-color:#742a27}
.nm-alert{background:#fff1e9;color:#883d27;border:1px solid #daaa92;border-radius:3px;padding:12px 14px}
.nm-success{background:#eaf8fd;color:#145a76;border:1px solid #9ed8ea;border-radius:3px;padding:12px 14px}
.nm-slab-header{background:#1f4f69;border-bottom:5px solid #123344;color:#fff}
.nm-slab-header p,.nm-slab-header h2{color:white}
.nm-public a.bg-\[\#62d0f0\]\/15{background:#e4f7fd;border-color:#9bd6ea;color:#0f6f97}
.nm-public button.bg-\[\#62d0f0\]\/15{background:#e4f7fd;border-color:#9bd6ea;color:#0f6f97}
.nm-public .bg-gradient-to-r{background:#eef8fc}
.nm-footer{color:#c8ddc0;background:#102219;border-top:6px solid var(--brand-dark);background-image:linear-gradient(#24453122 1px,transparent 1px),linear-gradient(90deg,#24453122 1px,transparent 1px);background-size:30px 30px}
.nm-footer a{color:#e0efd7}.nm-footer a:hover{color:#a6ebff}.nm-footer p{color:#a7b9a2}
.nm-admin{background:#edf0e5}.nm-admin >header{background:#102219;border-bottom:5px solid var(--brand-dark)}
.nm-admin >header a{color:#fff}.nm-admin >header span.text-\[\#62d0f0\]{color:var(--brand)}.nm-admin >header span.text-slate-400{color:#cfe9ef}
.nm-admin .rounded-2xl,.nm-admin .rounded-xl{border-radius:5px}
.nm-admin .bg-white{background:#fffef7}.nm-admin .border-slate-200{border-color:#c3d0b6}
.nm-admin a.text-sky-700{color:#0f6f97}
.nm-admin .shadow-sm{box-shadow:0 4px 0 #d5dfd0}
/* Responsive: panel and artwork remain legible on phones */
@media(max-width:1150px){.nm-hero-art{width:72%}}
@media(max-width:880px){.nm-hero-art{opacity:.52;width:100%;object-position:65% center}.nm-hero::before{background:linear-gradient(90deg,#11241dfc 0%,#123145ef 55%,#15394ec0 100%)}.nm-hero-copy{max-width:750px}}
@media(max-width:600px){.nm-hero{min-height:unset}.nm-hero h1{font-size:clamp(2.1rem,8.3vw,3rem)}.nm-hero .nm-cta,.nm-hero .nm-outline{width:100%}.nm-hero-art{width:100%;opacity:.38}.nm-hero .nm-eyebrow{font-size:10px}.nm-feature{padding:21px}.nm-nav-shell{gap:10px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition:none!important}}

/* Navigation positioning fix (2026-10-25)
   Preserve the same viewport width on long and short pages. Different scrollbar
   visibility was moving the entire header slightly between pages. */
html{scrollbar-gutter:stable}
/* Some pages load Google Inter while others do not. Use one predictable font
   for the shared header, independent of page-specific font imports. */
.nm-header{font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}

/* Equal-width side tracks keep the nav exactly centred, independently of
   the width of the brand on the left and CTA buttons on the right. */
@media(min-width:1280px){
  .nm-header .nm-nav-shell{
    display:grid;
    grid-template-columns:minmax(0,1fr) max-content minmax(0,1fr);
    align-items:center;
    column-gap:16px;
  }
  .nm-header .nm-nav-shell>a:first-child{justify-self:start}
  .nm-header .nm-nav-shell>.nm-nav-links{justify-self:center;min-width:max-content}
  .nm-header .nm-nav-shell>div{justify-self:end;margin-left:0}
}

/* Minecraft land claiming guide — display full image */
img[src*="11e31a8a"] {
    display: block;
    width: 100%;
    height: auto !important;
    max-height: none !important;
    object-fit: contain !important;
}

/* NM CMS TABLE FORMATTING START */

/* CMS page tables */
.nm-page-content table {
    width: 100%;
    border-collapse: collapse;
    table-layout: auto;
    margin: 20px 0 28px;
    font-size: 0.95rem;
    line-height: 1.6;
    border: 1px solid #b6cfdd;
}

/* Table headings */
.nm-page-content table thead {
    background: #e3f2f9;
}

.nm-page-content table th {
    background: #e3f2f9;
    color: #12394b;
    font-weight: 800;
    text-align: center;
    padding: 13px 16px;
    border: 1px solid #b6cfdd;
}

/* Table cells */
.nm-page-content table td {
    padding: 13px 16px;
    border: 1px solid #b6cfdd;
    vertical-align: top;
    color: #16394b;
    overflow-wrap: break-word;
}

/* Alternating backgrounds */
.nm-page-content table tbody tr:nth-child(even) {
    background: #f1f7fa;
}

.nm-page-content table tbody tr:nth-child(odd) {
    background: #fffdf7;
}

/* Hover highlighting */
.nm-page-content table tbody tr:hover {
    background: #e9f5f0;
}

/* Command column */
.nm-page-content table th:first-child,
.nm-page-content table td:first-child {
    width: 185px;
    min-width: 150px;
}

/* Minecraft commands */
.nm-page-content table code {
    font-family: Consolas, 'Courier New', monospace;
    font-size: 0.9em;
    white-space: normal;
    overflow-wrap: anywhere;
}

/* Keep paragraphs inside cells compact */
.nm-page-content table td p {
    margin: 0 0 8px;
}

.nm-page-content table td p:last-child {
    margin-bottom: 0;
}

/* Mobile-friendly tables */
@media (max-width: 640px) {
    .nm-page-content {
        min-width: 0;
    }

    .nm-page-content table {
        display: block;
        width: 100%;
        overflow-x: auto;
        table-layout: auto;
        font-size: 0.875rem;
        -webkit-overflow-scrolling: touch;
    }

    .nm-page-content table th,
    .nm-page-content table td {
        padding: 10px 12px;
    }

    .nm-page-content table th:first-child,
    .nm-page-content table td:first-child {
        min-width: 110px;
        width: 135px;
    }
}

/* NM CMS TABLE FORMATTING END */

/* NATHANM11 COMMANDS ENHANCEMENTS START */
/* NathanM11 SMP published Commands page enhancements */
.nm-page-content .nm-commands-nav {
    margin: 25px 0 34px;
    padding: 21px;
    border: 1px solid #b8d5dc;
    background: linear-gradient(145deg, #edf9f6, #edf5fa);
    border-radius: 13px;
}
.nm-page-content .nm-commands-nav-heading { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: baseline; margin: 0 0 15px; }
.nm-page-content .nm-commands-nav-heading strong { font-size: 1.2rem; color: #12394b; }
.nm-page-content .nm-commands-nav-heading span { color: #42616c; font-size: .9rem; }
.nm-page-content .nm-commands-nav-links { display: flex; flex-wrap: wrap; gap: 9px; }
.nm-page-content .nm-commands-nav-links a {
    display: inline-flex; align-items: center; padding: 9px 13px;
    border: 1px solid #b3d3d3; border-radius: 9px;
    background: #fff; color: #124a52; text-decoration: none;
    font-size: .9rem; line-height: 1.3; font-weight: 700;
    transition: background .15s, border-color .15s;
}
.nm-page-content .nm-commands-nav-links a:hover,
.nm-page-content .nm-commands-nav-links a:focus-visible { background: #dff7eb; border-color: #5da889; text-decoration: none; }
.nm-page-content h2[id^="commands-"] { scroll-margin-top: 100px; }
.nm-page-content .nm-commands-copy {
    display: inline-flex; align-items: center; justify-content: center;
    margin: 8px 0 0; padding: 4px 10px; min-height: 28px;
    border: 1px solid #8eb9c6; border-radius: 6px;
    background: #e5f6fa; color: #145169; cursor: pointer;
    font: 700 .78rem/1.4 inherit;
    font-family: system-ui, -apple-system, 'Segoe UI', sans-serif;
    font-size: .78rem; font-weight: 700;
}
.nm-page-content .nm-commands-copy:hover,
.nm-page-content .nm-commands-copy:focus-visible { background: #c9edf3; border-color: #398ca3; }
.nm-page-content .nm-commands-copy-status {
    position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%);
    z-index: 1000; max-width: min(92vw, 550px); padding: 12px 17px;
    background: #143c42; color: #fff; border-radius: 9px;
    box-shadow: 0 8px 24px rgba(0,0,0,.18); text-align: center; font-size: .9rem;
}
.nm-page-content .nm-commands-copy-status[hidden] { display: none !important; }
@media (max-width: 640px) {
    .nm-page-content .nm-commands-nav { padding: 14px; }
    .nm-page-content .nm-commands-nav-links a { font-size: .82rem; padding: 8px 10px; }
    .nm-page-content h2[id^="commands-"] { scroll-margin-top: 85px; }
}

/* NATHANM11 COMMANDS ENHANCEMENTS END */
