/* DTGaraGe Arsenal. Scoped to the handbook portal and its entry panels. */
.dtga,.dtga-entry{--dtga-ink:#f2eee7;--dtga-muted:#b9bec2;--dtga-line:rgba(223,211,192,.16);--dtga-accent:#e0b18b;color:var(--dtga-ink);font-family:inherit;box-sizing:border-box}
.dtga *,.dtga-entry *{box-sizing:border-box}.dtga [hidden],.dtga-entry[hidden]{display:none!important}.dtga a,.dtga-entry a{color:inherit;text-decoration:none}.dtga a:focus-visible,.dtga button:focus-visible,.dtga-entry a:focus-visible{outline:3px solid #ecd1ab;outline-offset:4px}.dtga-kicker{margin:0 0 13px;font-size:11px;font-weight:750;letter-spacing:.16em;line-height:1.6;color:var(--dtga-accent)}
.dtga-hero{position:relative;isolation:isolate;overflow:hidden;border:1px solid var(--dtga-line);border-radius:16px;background:#0e171b;min-height:485px;margin-bottom:40px}
.dtga-hero__image{position:absolute;inset:0;z-index:-2}.dtga-hero__image img{width:100%;height:100%;object-fit:cover;object-position:center}.dtga-hero:after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(7,15,19,.96) 0%,rgba(7,15,19,.87) 33%,rgba(7,15,19,.25) 75%),linear-gradient(0deg,rgba(7,15,19,.55),transparent 60%)}
.dtga-hero__body{padding:clamp(28px,4vw,56px);max-width:780px}.dtga-hero h2{margin:0;font-size:clamp(31px,3.5vw,49px);font-weight:750;line-height:1.12;letter-spacing:-.035em;color:#fff7ec;text-wrap:balance}.dtga-hero h2 em{font-style:normal;color:#e6b68a}.dtga-hero__copy{font-size:17px;line-height:1.75;max-width:550px;margin:24px 0 28px;color:#d0d0ca}.dtga-jumps{display:flex;flex-wrap:wrap;gap:10px}.dtga-jumps a{display:inline-flex;align-items:center;gap:18px;border:1px solid rgba(227,201,169,.36);border-radius:7px;padding:12px 15px;font-size:14px;font-weight:650;min-height:46px;background:rgba(13,22,26,.66)}.dtga-jumps a:hover{background:#d8ac85;color:#111b20;border-color:#d8ac85}.dtga-jumps span{color:var(--dtga-accent)}.dtga-jumps a:hover span{color:inherit}
.dtga-discover{display:flex;justify-content:space-between;align-items:center;gap:30px;margin:0 0 24px;padding:0 3px}.dtga-discover h2{font-size:27px;line-height:1.25;letter-spacing:-.02em;margin:0 0 10px;color:var(--dtga-ink)}.dtga-discover p:not(.dtga-kicker){font-size:15px;line-height:1.6;color:var(--dtga-muted);margin:0}.dtga-search{width:310px;flex-shrink:0}.dtga-search label{display:block;font-size:13px;font-weight:650;margin-bottom:9px;color:#e2d9ce}.dtga-search__field{display:flex;align-items:center;gap:10px;background:#101b22;border:1px solid #58636b;border-radius:8px;padding-left:14px;min-height:50px}.dtga-search__field:focus-within{outline:2px solid #e0b18b;outline-offset:2px}.dtga-search__field svg{color:#d6b591;flex-shrink:0}.dtga-search__field input{width:100%;min-width:0;border:0;background:transparent!important;color:#fff;font-size:16px;padding:13px 4px;outline:0!important;box-shadow:none!important}.dtga-search__field input::placeholder{color:#a7b1b6;opacity:1}.dtga-search__field input::-webkit-search-cancel-button{display:none}.dtga-search__field button{flex-shrink:0;min-width:44px;min-height:46px;border:0;background:transparent;color:#e2c3a6;font-size:25px;cursor:pointer}.dtga-search .dtga-search__status{font-size:12px!important;min-height:19px;margin-top:6px!important}
.dtga-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;align-items:start}.dtga-collection{--dtga-accent:#8bc9d4;min-width:0;overflow:hidden;background:linear-gradient(155deg,#15242c,#10191f 70%);border:1px solid var(--dtga-line);border-radius:13px;scroll-margin-top:100px;box-shadow:0 12px 28px rgba(0,0,0,.16)}.dtga-collection--mac{--dtga-accent:#afd3bd;background:linear-gradient(155deg,#1c2926,#111c1e 70%)}.dtga-collection--code{--dtga-accent:#e0b18b;background:linear-gradient(155deg,#2a2924,#171e20 70%)}.dtga-collection__image{display:block;position:relative;aspect-ratio:1.58;overflow:hidden;border-bottom:1px solid var(--dtga-line)}.dtga-collection__image:after{position:absolute;inset:0;content:"";background:linear-gradient(0deg,rgba(10,19,24,.5),transparent 60%)}.dtga-collection__image img{display:block;width:100%;height:100%;object-fit:cover}.dtga-collection__intro{padding:25px 24px 20px}.dtga-collection__intro h2{font-size:26px;line-height:1.2;letter-spacing:-.025em;margin:0 0 12px;color:var(--dtga-ink)}.dtga-collection__intro>p:last-child{min-height:70px;font-size:15px;line-height:1.65;color:#bfc6c7;margin:0}.dtga-guides{list-style:none;margin:0!important;padding:0 12px 14px!important}.dtga-guides li{margin:0;padding:0;list-style:none}.dtga-guide{display:flex;gap:10px;align-items:center;min-height:99px;padding:16px 12px;border-top:1px solid var(--dtga-line);border-radius:0;transition:background .16s ease}.dtga-guide:hover{background:rgba(206,220,219,.06)}.dtga-guide__body{min-width:0;flex:1}.dtga-guide strong{display:block;font-size:16px;font-weight:650;line-height:1.35;color:#f4eee5;overflow-wrap:anywhere}.dtga-guide__body>span{display:block;margin-top:6px;font-size:13px;line-height:1.6;color:#aebcc2}.dtga-guide__arrow{color:var(--dtga-accent);font-size:21px;width:23px;text-align:right;flex-shrink:0}.dtga-guide:hover strong{color:var(--dtga-accent)}.dtga-guide:focus-visible{outline-offset:-3px!important}
.dtga-footer{display:flex;align-items:center;gap:24px;padding:29px 30px;margin:30px 0 10px;background:rgba(12,22,28,.91);border:1px solid var(--dtga-line);border-radius:12px}.dtga-footer__symbol{font-family:monospace;font-size:33px;line-height:1;color:#e0b18b;flex-shrink:0}.dtga-footer strong{font-size:18px;line-height:1.5;color:#e9ddd0}.dtga-footer p{font-size:14px;line-height:1.65;color:var(--dtga-muted);margin:6px 0 0;max-width:700px}.dtga-footer>a{display:flex;gap:12px;flex-shrink:0;margin-left:auto;min-height:44px;align-items:center;font-size:14px;font-weight:650;color:#e6bb94}.dtga-empty{text-align:center;padding:45px 24px;background:#142128;border:1px solid var(--dtga-line);border-radius:12px}.dtga-empty h2{font-size:24px;color:#eee1d2}.dtga-empty p{color:#bdc7ca;line-height:1.7}.dtga-empty button{min-height:46px;padding:10px 18px;background:#d7ac85;color:#121e25;border:0;border-radius:6px;font:inherit;font-weight:650;cursor:pointer}
.dtga-entry{display:flex;overflow:hidden;background:#13222a;border:1px solid var(--dtga-line);border-radius:10px;margin:0 0 22px}.dtga-entry--mac{--dtga-accent:#afd3bd}.dtga-entry__art{display:block;flex:0 0 190px;min-height:190px}.dtga-entry__art img{display:block;width:100%;height:100%;object-fit:cover}.dtga-entry__body{padding:21px 25px;min-width:0}.dtga-entry__body .dtga-kicker{margin-bottom:5px;font-size:10px}.dtga-entry h2{font-size:23px;font-weight:650;line-height:1.3;margin:0 0 8px;color:#eee4d7}.dtga-entry h2 a{display:inline-flex;align-items:center;gap:13px;min-height:35px}.dtga-entry h2 a:hover{color:var(--dtga-accent)}.dtga-entry__body>p:not(.dtga-kicker){font-size:14px;line-height:1.6;color:#b8c4ca;margin:0 0 10px}.dtga-entry__links{display:flex;gap:6px 14px;flex-wrap:wrap}.dtga-entry__links a{font-size:13px;line-height:1.4;color:var(--dtga-accent);display:flex;align-items:center;min-height:36px;text-decoration:underline;text-underline-offset:4px}.dtga-entry__links a:hover{color:#fff}
@media(max-width:1100px){.dtga-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dtga-collection--code{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.dtga-collection--code .dtga-collection__image{grid-column:1;grid-row:1;aspect-ratio:1.7}.dtga-collection--code .dtga-collection__intro{grid-column:1;grid-row:2}.dtga-collection--code .dtga-guides{grid-column:2;grid-row:1/3;padding:15px!important}.dtga-collection--code .dtga-guide{min-height:100px}.dtga-discover{align-items:start}.dtga-search{width:260px}.dtga-footer{gap:18px}.dtga-footer>a{max-width:150px}}
@media(max-width:700px){.dtga-hero{min-height:550px;margin-bottom:28px;border-radius:11px}.dtga-hero__image img{object-position:64% center}.dtga-hero:after{background:linear-gradient(0deg,rgba(6,15,19,.99),rgba(6,15,19,.88) 48%,rgba(6,15,19,.3))}.dtga-hero__body{padding:165px 24px 28px}.dtga-hero h2{font-size:34px}.dtga-hero__copy{font-size:15px;line-height:1.75;margin:20px 0 23px}.dtga-jumps{gap:8px}.dtga-jumps a{font-size:13px;padding:11px 12px;gap:12px}.dtga-discover{display:block;padding:0 2px;margin-bottom:21px}.dtga-discover h2{font-size:25px}.dtga-search{width:100%;margin-top:22px}.dtga-grid{grid-template-columns:minmax(0,1fr);gap:24px}.dtga-collection--code{grid-column:auto;display:block}.dtga-collection__image,.dtga-collection--code .dtga-collection__image{aspect-ratio:1.6}.dtga-collection__intro{padding:24px 23px 18px}.dtga-collection__intro>p:last-child{min-height:0}.dtga-guides,.dtga-collection--code .dtga-guides{padding:0 12px 14px!important}.dtga-guide,.dtga-collection--code .dtga-guide{min-height:92px}.dtga-footer{flex-wrap:wrap;padding:24px;gap:16px}.dtga-footer__symbol{display:none}.dtga-footer>a{margin-left:0;max-width:none}.dtga-footer strong{font-size:19px}.dtga-entry{display:block}.dtga-entry__art{height:130px;min-height:0}.dtga-entry__art img{object-position:center 58%}.dtga-entry__body{padding:19px 20px}.dtga-entry__links a{min-height:44px}.dtga-kicker{font-size:10px}.dtga-guide__body>span{font-size:14px}.dtga-guide strong{font-size:17px}}
@media(prefers-reduced-motion:reduce){.dtga *{scroll-behavior:auto!important;transition:none!important}}
/* The portal has its own invitation; keep the theme's large guest invitation elsewhere. */
html[data-container-key="node-124"] .focus-guest{display:none}
/* Existing handbook nodes use a fixed 350px minimum in the node styling add-on. */
@media(max-width:400px){.node--page,.node--page .node-body{min-width:0!important;max-width:100%!important}.node--page .thNodes__nodeHeader{min-width:0;width:100%}.node--page .node-main{min-width:0;flex:1}}
@media(max-width:400px){.node--page{width:calc(100vw - 30px)!important;max-width:calc(100vw - 30px)!important;flex:0 1 auto!important}}
