@font-face{font-family:Rune;src:url('assets/runescape.ttf') format('truetype');font-display:swap}*{box-sizing:border-box}html{color-scheme:dark}body{margin:0;background:#111210;color:#c8c4b4;font-family:Arial,sans-serif;min-height:100vh;background-image:radial-gradient(ellipse at 50% 40%,#27282140,transparent 65%)}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit}button:not(:disabled),a[href]{cursor:pointer}button:focus-visible,a:focus-visible{outline:2px solid #e8d071;outline-offset:5px}.topbar{height:90px;margin:0 5%;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #34362b;gap:24px}.wordmark{font-size:12px;letter-spacing:2px;font-weight:bold;color:#b8b9a7;text-decoration:none}.topbar nav{display:flex;gap:32px;align-items:center}.link{position:relative;display:inline-block;font-size:12px;letter-spacing:1px;padding:12px 0;color:#c3c5b7;text-decoration:none;transition:color .2s;white-space:nowrap}.link:after{content:'';position:absolute;bottom:4px;left:0;height:1px;width:100%;background:#e4cb75;transform:scaleX(0);transform-origin:left;transition:transform .24s}.link:hover:after,.link:focus-visible:after{transform:scaleX(1)}.link:hover{color:#f5df90}.buy{color:#e4cb75!important}.topbar [aria-disabled=true]{opacity:.5;cursor:not-allowed}main{max-width:1000px;margin:0 auto;padding:43px 24px 0}.heading{text-align:center;margin-bottom:28px}.eyebrow{font-size:10px;letter-spacing:3px;color:#7e8270}.heading h1{font-family:Rune,'Courier New',monospace;font-weight:normal;color:#ffff00;font-size:clamp(32px,4.2vw,54px);text-shadow:3px 3px #000;margin:19px 0 1px;line-height:1.1}.heading p{font-family:Rune,'Courier New',monospace;font-size:22px;margin:8px 0;color:#efefdf;text-shadow:2px 2px #000}.blink{animation:blink 1.6s steps(1) infinite}@keyframes blink{50%{opacity:.3}}.client{border:5px ridge #777465;background:#514b3f;box-shadow:0 0 0 2px #080908,0 20px 70px #0008;font-family:Rune,'Courier New',monospace;font-size:19px;text-shadow:1px 1px #111;image-rendering:pixelated}.client-top{padding:9px 14px 8px;display:flex;justify-content:space-between;gap:12px;color:#b9b5a8;background:linear-gradient(#393c36,#292c27);font-size:16px;border-bottom:3px ridge #68685a}.dim{color:#7e8476}.connection{color:#94a777}.play-area{display:grid;grid-template-columns:1fr 216px;gap:10px;padding:13px;background:#34382e}.trade-frame{background:#514c40;border:4px ridge #8b826c;box-shadow:inset 0 0 14px #0004;min-width:0}.trade-title{text-align:center;padding:13px 6px;color:#fff28b;border-bottom:1px solid #82745b;font-size:22px}.offers{display:grid;grid-template-columns:1fr 1fr;padding:14px 13px 0;gap:17px}.offer-column h2{font:inherit;text-align:center;margin:0 0 9px;color:#eee4c8}.offer-grid{display:grid;grid-template-columns:repeat(4,1fr);grid-template-rows:repeat(3,52px);background:#39382e;border:2px inset #706b58;min-height:160px;padding:5px;gap:1px;transition:background .2s}.offer-grid.dragover{background:#686144;outline:1px solid #e3cc75}.slot{border:0;background:transparent;padding:4px;min-width:0;display:flex;align-items:center;justify-content:center;position:relative;border-radius:0}.slot:has(img):hover{background:#d4c58a17}.slot img{image-rendering:pixelated;width:auto;max-width:100%;height:38px;object-fit:contain;filter:drop-shadow(1px 2px 0 #151815);pointer-events:none}.offer-hint,.promise{font-size:16px;text-align:center;min-height:38px;line-height:1.15;margin:10px 0 0;color:#c0b9a4}.promise{color:#c6ab76}.trade-footer{text-align:center;padding:0 12px 16px}.trade-footer>p{color:#f0e7c9;min-height:22px;margin:8px 0 12px}.trade-actions{display:flex;gap:14px;justify-content:center}.game-button{font-family:Rune,'Courier New',monospace;font-size:20px;color:#f5e9c2;text-shadow:1px 1px #000;background:linear-gradient(#5e5745,#3f3b30);border:3px ridge #918267;min-width:125px;min-height:40px;padding:5px 17px;box-shadow:1px 2px #242319}.game-button:hover:not(:disabled){background:#6a624d;color:#ffff00}.accept{color:#73df69}.decline{color:#ff817a}.game-button:disabled{opacity:.4}.inventory-panel{border:3px ridge #7d7665;background:#49473b;display:flex;flex-direction:column}.inventory-title{text-align:center;padding:12px 0 9px;border-bottom:1px solid #6a6655;color:#fff0b1}.inventory{padding:9px;display:grid;grid-template-columns:repeat(4,1fr);grid-template-rows:repeat(7,36px);gap:3px}.inventory .slot img{height:32px}.inventory .slot{padding:1px}.count{position:absolute;top:-2px;left:0;font-size:14px;color:#ffff00}.item-tooltip{min-height:28px;text-align:center;font-size:16px;color:#ddd3a8;margin-top:auto}.inventory-footer{border-top:1px solid #66614e;padding:10px 4px;display:flex;flex-direction:column;align-items:center;gap:4px;font-size:15px;color:#aba88f}.gold{color:#e4ca77}.chat{background:#b6a784;color:#1b1b12;border-top:4px ridge #797260;padding:10px 14px 0;text-shadow:none;box-shadow:inset 0 1px 8px #51432c44}.chat-messages{height:76px;overflow-y:auto;font-size:18px;scrollbar-width:thin}.chat p{margin:0 0 3px;line-height:1.15}.chat-name{color:#2c200c}.chat-shout{color:#17237e}.chat-system{color:#3d465d}.chat-error{color:#872317}.chat-input{border-top:1px solid #8b7b5b;padding:8px 0 7px;font-size:18px}.chat-input>span:first-child{color:#24200f}#player-text,.chat-caret{color:#17237e}.chat-caret{animation:blink 1s steps(1) infinite}.chat-tabs{display:flex;justify-content:space-around;gap:4px;padding:5px 6px;background:#4b4b3f;font-size:15px}.chat-tabs>span{padding:4px 7px;min-width:60px;text-align:center;border:2px ridge #777362;background:#3f4036}.chat-tabs .selected{background:#635c45;color:#f6e6b3}.chat-tabs b{display:block;font-weight:normal;color:#68b05b}.chat-tabs .report{color:#db9a86;display:flex;align-items:center;font-size:14px}.outcome{text-align:center;padding:26px 16px 31px;min-height:335px}.outcome[hidden]{display:none}.offline-tag{color:#ba8171;letter-spacing:2px;font-family:Arial,sans-serif;font-size:11px}.outcome h2{font-weight:normal;color:#ffeb8b;font-size:31px;margin:21px 0 7px}.outcome p{font-size:19px;margin:9px 0;color:#c4baa0}.outcome .lesson{margin:21px 0;line-height:1.4}.lesson span{color:#ffff00}.under-client{display:flex;justify-content:space-between;align-items:center;color:#666c5f;font-size:12px;padding:12px 3px}.ca{border:0;background:transparent;color:#a6a896;font-size:11px;letter-spacing:1px}.ca:disabled{opacity:.5}footer{display:flex;justify-content:space-between;gap:12px;max-width:952px;margin:24px auto 0;padding:18px 0 25px;border-top:1px solid #2c3026;color:#757969;font-size:11px}.cursor{display:none;position:fixed;left:0;top:0;width:17px;height:17px;border:1px solid #d7c47c;border-radius:50%;pointer-events:none;z-index:100;transform:translate(-50%,-50%);transition:width .15s,height .15s}.cursor:after{content:'';width:3px;height:3px;border-radius:50%;background:#ecdb9e;position:absolute;left:50%;top:50%;transform:translate(-50%,-50%)}@media(pointer:fine){body.custom-cursor,body.custom-cursor *{cursor:none!important}.custom-cursor .cursor{display:block}}@media(min-width:1450px){main{padding-top:65px}.heading{margin-bottom:35px}footer{margin-top:38px}}@media(max-width:760px){.topbar{height:auto;min-height:95px;flex-direction:column;justify-content:center;gap:7px;margin:0 20px;padding:14px 0 8px}.topbar nav{gap:25px}.wordmark{font-size:10px}.link{font-size:11px}.heading{margin-bottom:23px}main{padding:28px 12px 0}.eyebrow{font-size:9px;letter-spacing:2px}.heading p{font-size:19px}.play-area{grid-template-columns:1fr;padding:8px;gap:8px}.inventory-panel{display:grid;grid-template-columns:74px 1fr;align-items:center}.inventory-title{font-size:16px;border:0}.inventory{display:flex;gap:6px;padding:5px;min-height:50px}.inventory .slot{width:39px;height:39px}.inventory .slot:empty{display:none}.inventory-footer,.item-tooltip{display:none}.trade-title{font-size:20px;padding:12px 2px}.offers{gap:10px;padding:12px 9px 0}.offer-grid{grid-template-rows:repeat(3,43px);min-height:137px}.slot img{height:32px}.offer-hint,.promise{font-size:15px;min-height:34px}.client-top{font-size:14px;padding:7px 8px}.chat{padding:9px 8px 0}.chat-messages,.chat-input{font-size:16px}.chat-tabs{gap:2px;padding:4px 2px}.chat-tabs>span{min-width:0;flex:1;padding:4px 1px;font-size:13px}.chat-tabs .report{font-size:12px}.location{display:none}.under-client>span{font-size:11px}footer{margin:14px 15px 0;flex-direction:column;text-align:center;line-height:1.5;gap:6px}.outcome{min-height:300px;padding:25px 10px}.outcome h2{font-size:28px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}.cursor{display:none!important}body.custom-cursor,body.custom-cursor *{cursor:auto!important}}
/* Small launch polish */
.topbar nav .link{font-size:14px}.game-progress{display:flex;justify-content:space-between;gap:12px;padding:8px 14px;color:#c1b693;background:#272a22;border-bottom:2px ridge #706c59;font-size:18px}.game-progress b{font-weight:normal;color:#ffff00}main{padding-bottom:25px}.under-client{gap:18px;align-items:flex-start}.ca{max-width:65%;overflow-wrap:anywhere;white-space:normal;text-align:left;line-height:1.5}.ca[hidden],#ca-placeholder[hidden]{display:none!important}/* Keep launch placeholders visible until their destinations are configured. */
.topbar nav [data-project-link][hidden]{display:inline-block!important;opacity:.5;cursor:not-allowed}
.under-client{display:flex;gap:20px;align-items:flex-start;padding-top:17px}.ca-panel{display:flex;align-items:center;gap:12px;flex:1;min-width:0;padding-top:3px}.ca-address{font-size:12px;color:#a6a896;overflow-wrap:anywhere;line-height:1.5}.copy-ca{border:0;background:transparent;white-space:nowrap;color:#d7c47c;font-size:12px}.under-client .ca-panel .copy-ca[hidden]{display:inline-block!important}.copy-ca:disabled{opacity:.42;cursor:not-allowed}.ca-address[hidden]{display:none!important}.music-controls{position:relative;flex:0 0 255px;max-width:100%;color:#a6a896;text-align:right}.track-name{display:block;color:#b9bda9;font-size:12px;text-decoration:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:255px}.track-name:hover{color:#e4cb75}.music-buttons{display:flex;align-items:center;justify-content:flex-end;gap:9px;margin:7px 0 3px}.music-button{border:0;background:transparent;color:#d7c47c;font-family:Arial,sans-serif;font-size:17px;line-height:1;padding:5px;min-width:26px;min-height:30px}.music-button:hover{color:#ffff00}.music-button:disabled{opacity:.4}.music-buttons label{font-size:10px;letter-spacing:1px;margin-left:3px}.music-buttons input{width:73px;accent-color:#d7c47c;margin:0;cursor:pointer}.music-buttons output{font-size:11px;min-width:30px;font-variant-numeric:tabular-nums}.music-status{font-size:11px;color:#868d7c;min-height:14px;display:block}.source-player{position:relative;font-size:10px;margin-top:4px}.source-player summary{color:#686f60;cursor:pointer;list-style:none}.source-player summary:hover{color:#d7c47c}.source-player iframe{position:absolute;right:0;top:20px;z-index:15;width:320px;max-width:calc(100vw - 32px);height:166px;border:1px solid #686451;background:#333;box-shadow:0 8px 24px #0008}.under-client .link:disabled:after{display:none}@media(max-width:760px){.topbar nav .link{font-size:13px}.topbar nav{gap:20px}.game-progress{font-size:16px;padding:8px 10px}.under-client{gap:12px;flex-wrap:wrap}.ca-panel{min-width:100%;justify-content:space-between}.music-controls{margin-left:auto}.ca-address{font-size:11px}.copy-ca{font-size:11px}}

/* Authentic RuneLite RS3 Gold pointer; retain the existing magnetic links. */
.cursor{width:32px;height:32px;border:0;border-radius:0;background:url('assets/cursor-rs3-gold.png') no-repeat;transform:none;transition:none}
.cursor:after{display:none}
@media(pointer:fine){body,body a,body button,body input{cursor:url('assets/cursor-rs3-gold.png') 0 0,auto}}
.starter-player{width:86px;height:230px;object-fit:contain;flex:none;filter:drop-shadow(3px 5px 2px #0005)}
.starter-player[hidden]{display:none}
.outcome.finished{padding:23px 18px 25px}
.outcome.finished .outcome-result{display:flex;align-items:center;justify-content:center;gap:20px;margin:12px 0}
.outcome.finished .outcome-copy{max-width:330px;text-align:left}
.outcome.finished h2{margin:0 0 12px}
.outcome.finished .lesson{margin:16px 0 0}
/* Keep the iframe mounted and rendered while the source controls are tucked away. */
.source-player:not(.is-open) iframe{clip-path:inset(50%);pointer-events:none}
.player-toggle{border:0;background:none;padding:0;color:#868b7c;font:inherit;font-size:10px}
.player-toggle:hover,.player-toggle:focus-visible{color:#d7c47c}
@media(max-width:480px){.outcome.finished{padding:20px 10px}.outcome.finished .outcome-result{gap:12px}.starter-player{width:65px;height:180px}.outcome.finished h2{font-size:25px}.outcome.finished p{font-size:17px}}

.chat-input{display:flex;align-items:center;gap:4px;margin:0}
.chat-input input{min-width:0;flex:1;border:0;outline:none;background:transparent;color:#202fa1;font:inherit;padding:3px 0}
.chat-input input::placeholder{color:#384473;opacity:.8}
.chat-input:focus-within{box-shadow:inset 0 -1px #6b613d}
.chat-send{border:0;border-bottom:1px solid transparent;background:none;font:inherit;color:#393323;padding:3px 6px}
.chat-send:hover,.chat-send:focus-visible{border-bottom-color:currentColor}
.chat-player{color:#202fa1}.chat-npc{color:#28251c}
.decline-dialog{width:min(665px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow:auto;padding:32px;color:#c4baa0;background:#4a4839;border:3px ridge #b9af83;box-shadow:0 20px 90px #000b;text-align:center;font-family:Rune,serif}
.decline-dialog::backdrop{background:#000b}
.decline-result{display:flex;gap:32px;align-items:center;justify-content:center;margin:21px 0 29px;text-align:left}
.decline-result img{width:146px;height:306px;object-fit:contain;flex:none;filter:drop-shadow(3px 4px 2px #0006)}
.decline-result h2{font-size:40px;font-weight:normal;color:#ffeb8b;margin:0 0 16px}
.decline-result p{font-size:27px;line-height:1.2;margin:0}
@media(max-width:480px){.decline-dialog{padding:20px 14px}.decline-result{gap:15px}.decline-result img{width:85px;height:200px}.decline-result h2{font-size:26px}.decline-result p{font-size:18px}}

/* Modal dialogs occupy the browser's top layer, above the magnetic cursor. */
@media(pointer:fine){
  body.custom-cursor:has(dialog[open]) .cursor{display:none}
  body.custom-cursor .decline-dialog,
  body.custom-cursor .decline-dialog *,
  .decline-dialog::backdrop{cursor:url('assets/cursor-rs3-gold.png') 0 0,auto!important}
}
@media(min-width:481px){
  .decline-dialog .offline-tag{font-size:15px}
  .decline-dialog .game-button{font-size:27px;min-width:166px;min-height:53px;padding:7px 23px}
}

/* Result sharing keeps the existing trade screen compact. */
.share-result-button{display:block;margin:14px auto 0;padding:5px 9px;border:0;background:none;color:#ddce99;font-family:Rune,serif;font-size:20px;text-decoration:underline;text-underline-offset:4px}
.share-result-button:hover{color:#ffff00}
.share-dialog{width:min(800px,calc(100vw - 24px));padding:24px}
.share-dialog h2{font-size:30px;font-weight:normal;color:#ffeb8b;margin:0 0 18px}
.shared-result{display:block;width:100%;height:auto;border:1px solid #918267}
.share-dialog>p{font-size:22px;line-height:1.2;margin:16px 0}
.share-actions{display:flex;gap:12px;justify-content:center;flex-wrap:wrap}
.share-actions .game-button,.result-page .game-button{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;font-size:22px;min-height:44px}
.share-dialog .share-help{font:12px/1.5 Arial,sans-serif;color:#b4aa91;margin-bottom:0}
.share-dialog .share-result-button{font-size:19px}
.result-page main{max-width:1000px;text-align:center;padding-bottom:40px}
.result-page h1{font:32px Rune,serif;color:#ffeb8b}
.result-page p{font:24px/1.3 Rune,serif}
@media(max-width:480px){.share-dialog{padding:16px 12px}.share-dialog h2{font-size:26px}.share-dialog>p{font-size:20px}.share-actions{gap:8px}.share-actions .game-button{min-width:0;font-size:20px;padding:7px 12px}}
