Back to the app
The code
The Most Uncomfortable Web Page by GPT-6.2 Sol
Exactly as the AI wrote it. Shown as text, so nothing runs on this page.
index.html
works · auto-checked (Checked by an automated pass. Not hand-played yet.)<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>PLEASE WAIT — Bureau of Minor Inconveniences</title>
<style>
:root{--ink:#241d18;--paper:#faf6e9;--orange:#ff632f;--purple:#ddd2ff;--line:#c9c0ad;--muted:#63594e}
*{box-sizing:border-box}
body{margin:0;color:var(--ink);background:radial-gradient(#d9cfba 1px,transparent 1px) 0 0/15px 15px,#f2ecdc;font-family:Arial,sans-serif}
button{font:inherit;color:inherit;min-height:44px;cursor:pointer;touch-action:manipulation}
button:focus-visible{outline:3px solid #563f9f;outline-offset:4px}
button:disabled{cursor:default}
.mono,.tag,.step,.meter-label,.footer,.receipt small{font:700 11px/1.4 ui-monospace,Consolas,monospace;letter-spacing:.11em}
.wrap{width:min(1160px,calc(100% - 48px));margin:auto}
header{background:var(--paper);border-bottom:2px solid var(--ink)}
.top{min-height:62px;display:flex;align-items:center;justify-content:space-between;gap:12px}
.brand{display:flex;align-items:center;gap:10px;font-weight:900;font-size:13px;text-transform:uppercase}
.logo{display:grid;place-items:center;width:30px;height:30px;background:var(--orange);border:1.5px solid;transform:rotate(-5deg);font-size:20px}
.tag{background:var(--purple);border:1px solid;padding:5px 8px;white-space:nowrap}
.hero{display:grid;grid-template-columns:1fr 230px;align-items:center;gap:28px;padding:31px 0 29px}
.kicker{display:inline-block;background:var(--ink);color:var(--paper);padding:5px 9px;transform:rotate(-2deg)}
h1{font-family:Impact,'Arial Black',sans-serif;font-size:clamp(72px,12.2vw,172px);font-weight:900;line-height:.86;letter-spacing:-.035em;margin:17px 0 14px}
h1 span{display:block;color:var(--orange);-webkit-text-stroke:2px var(--ink);text-shadow:4px 4px var(--ink);transform:translate(1px,1px) rotate(-1deg);transform-origin:left}
.lede{margin:19px 0 0;font-size:16px;color:var(--muted);line-height:1.45}
.ticket{width:100%;max-width:215px;justify-self:center;background:var(--purple);border:2px solid;box-shadow:6px 6px var(--ink);padding:15px;transform:rotate(7deg);text-align:center}
.ticket svg{display:block;width:118px;height:98px;margin:4px auto}
.ticket .mono:last-child{border-top:1px dashed;padding-top:8px}
.section-head{display:flex;align-items:center;justify-content:space-between;gap:8px;border-top:2px solid;padding:10px 0}
.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}
.card{background:var(--paper);border:2px solid;box-shadow:4px 4px var(--ink);padding:14px;min-width:0;display:flex;flex-direction:column}
.card:nth-child(2){transform:translateY(2px)}
.card:nth-child(3){transform:rotate(.55deg)}
.step{display:flex;justify-content:space-between;gap:5px;align-items:center}
.flag{background:#eee6d3;padding:3px 6px;letter-spacing:.04em}
.done .flag{background:#d6e6ad}
h2{font-size:23px;letter-spacing:-.04em;margin:10px 0 4px}
.card p{font-size:13px;color:var(--muted);margin:0 0 12px;min-height:33px;line-height:1.35}
.zone{height:133px;position:relative;border:1px dashed #8a7c69;background:repeating-linear-gradient(-45deg,#f5eedf,#f5eedf 6px,#f0e8d8 6px,#f0e8d8 7px);margin-top:auto}
.action{border:1.5px solid;background:var(--orange);box-shadow:2px 2px var(--ink);padding:6px 12px;font-weight:900}
.action:active{box-shadow:none}
.runner{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);white-space:nowrap;transition:left .18s,top .18s}
.runner[data-turn="1"]{left:calc(100% - 6px);top:7px;transform:translateX(-100%) rotate(2deg)}
.runner[data-turn="2"]{left:7px;top:auto;bottom:7px;transform:rotate(-2deg)}
.progress-zone{padding:11px;display:flex;flex-direction:column;gap:8px}
.meter-label{display:flex;justify-content:space-between}
.track{height:16px;border:1.5px solid;background:var(--paper);overflow:hidden}
.fill{height:100%;width:12%;background:repeating-linear-gradient(135deg,var(--purple) 0 7px,#b9a6f6 7px 13px);border-right:1px solid;transition:width .5s ease}
.progress-zone button{margin-top:auto;background:var(--purple)}
.cookie-zone{display:grid;place-items:center}
.notice{position:absolute;inset:9px 12px;background:var(--purple);border:1.5px solid;padding:7px 9px;display:flex;flex-direction:column;justify-content:space-between;gap:3px}
.notice strong{font-size:13px}.notice small{font-size:11px}
.notice .action{align-self:flex-end;background:var(--paper);min-height:44px}
.stack{position:absolute;inset:9px 12px;background:var(--orange);border:1.5px solid;transform:rotate(5deg)}
.stack.alt{background:#e9ddae;transform:rotate(-5deg)}
[hidden]{display:none!important}
.ok{font-weight:900;text-align:center;padding:8px}
.status{margin:10px 0 0!important;min-height:34px!important}
.submit{margin:18px 0 24px;border:2px solid;background:var(--ink);color:var(--paper);display:flex;justify-content:space-between;align-items:center;gap:12px;padding:10px 12px}
.submit button{background:var(--orange);color:var(--ink);border:1px solid var(--paper);font-weight:900;padding:6px 13px}
.submit button[aria-disabled=true]{background:#ded3bb}
.footer{display:flex;justify-content:space-between;gap:10px;border-top:1px solid;padding:11px 0 16px;color:var(--muted)}
.receipt{max-width:580px;margin:50px auto;padding:26px;background:var(--paper);border:2px solid;box-shadow:7px 7px var(--ink);text-align:center}
.receipt h2{font-family:Impact,'Arial Black',sans-serif;font-size:clamp(48px,8vw,88px);line-height:.95;margin:14px 0;color:var(--orange);-webkit-text-stroke:1px var(--ink)}
.stamp{display:inline-block;transform:rotate(-6deg);border:3px double;padding:6px 10px;background:var(--purple)}
.receipt button{margin-top:10px}
@media(max-width:820px){.cards{gap:10px}.card{padding:10px}.hero{grid-template-columns:1fr 160px}.ticket{padding:9px}h2{font-size:20px}}
@media(max-width:660px){.wrap{width:calc(100% - 28px)}.cards{grid-template-columns:1fr}.hero{grid-template-columns:1fr 103px;gap:7px;padding:24px 0}.ticket svg{width:66px;height:61px}.ticket .mono{font-size:8px}.ticket{padding:6px}h1{font-size:clamp(55px,13vw,88px);margin-top:14px}.lede{font-size:14px}.brand{font-size:11px}.top .tag{font-size:9px}.submit{align-items:center}.footer{font-size:9px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important}}
</style>
</head>
<body>
<header><div class="wrap top"><div class="brand"><span class="logo" aria-hidden="true">≋</span>Bureau of Minor Inconveniences</div><div class="tag" id="mode">OPEN, TECHNICALLY</div></div></header>
<main class="wrap">
<div id="work">
<section class="hero" aria-labelledby="title">
<div><div class="mono kicker">THE PATIENCE DEPARTMENT</div><h1 id="title">PLEASE <span>WAIT.</span></h1><p class="lede">Three simple tasks. We’ve made each one slightly worse.</p></div>
<div class="ticket" aria-hidden="true"><div class="mono">TAKE A NUMBER</div>
<svg viewBox="0 0 120 100" fill="none" stroke="#241d18" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><path fill="#faf6e9" d="M37 12h46v9c0 16-9 22-18 28 9 6 18 13 18 29v10H37V78c0-16 9-23 18-29-9-6-18-12-18-28z"/><path fill="#ff632f" d="M44 29h32c-2 8-9 13-16 17-7-4-14-9-16-17zm0 51 16-17 16 17z"/><path d="M30 12h60M30 88h60M16 26l8 3m-9 36 9-2m80-37-8 3m9 36-9-2M57 30v4m7-4v4"/></svg>
<div class="mono">NOW SERVING: SOON</div></div>
</section>
<div class="section-head mono"><span>YOUR TO-DO LIST</span><span id="count" aria-live="polite">0 / 3 COMPLETE</span></div>
<div class="cards">
<section class="card" id="card0"><div class="step"><span>01 / COORDINATION</span><span class="flag">PENDING</span></div><h2>Catch the button</h2><p>It has somewhere else to be.</p><div class="zone"><button class="action runner" id="runner" type="button">Catch me ↗</button></div><p class="status" id="runStatus" aria-live="polite">Go on. It looks friendly.</p></section>
<section class="card" id="card1"><div class="step"><span>02 / OPTIMISM</span><span class="flag">PENDING</span></div><h2>Make some progress</h2><p>Almost there is a state of mind.</p><div class="zone progress-zone"><div class="meter-label"><span>LOADING</span><span id="percent">12%</span></div><div class="track" role="progressbar" aria-label="Loading" aria-valuenow="12"><div class="fill" id="fill"></div></div><button class="action" id="advance" type="button">Make progress →</button></div><p class="status" id="meterStatus" aria-live="polite">The meter feels confident today.</p></section>
<section class="card" id="card2"><div class="step"><span>03 / ADMINISTRATION</span><span class="flag">PENDING</span></div><h2>Dismiss the notice</h2><p>It’s about cookies. Allegedly.</p><div class="zone cookie-zone"><div class="ok" id="clear" hidden>✓ All paperwork dismissed.</div><div class="stack alt" id="stack2" hidden></div><div class="stack" id="stack1" hidden></div><div class="notice" id="notice"><strong id="noticeTitle">Cookie notice</strong><small id="noticeBody">We use imaginary cookies.</small><button class="action" id="closeNotice" type="button">Close ×</button></div></div><p class="status" id="cookieStatus" aria-live="polite">One notice. Should be easy.</p></section>
</div>
<div class="submit"><span class="mono" id="submitLabel" aria-live="polite">COMPLETE ALL 3 TASKS</span><button id="finish" type="button" aria-disabled="true">File my patience →</button></div>
</div>
<section id="receipt" class="receipt" hidden aria-labelledby="thanks"><small>OFFICIAL RECEIPT</small><h2 id="thanks" tabindex="-1">THANK YOU FOR YOUR PATIENCE.</h2><p>Your patience has been received and filed under “surprisingly considerable.”</p><p class="stamp mono">✓ APPROVED, EVENTUALLY</p><div><button class="action" id="again" type="button">Do that again ↻</button></div></section>
<footer class="footer"><span>EST. EVENTUALLY</span><span>EVERYTHING IS SLIGHTLY FINE.</span></footer>
</main>
<script>
const el = id => document.getElementById(id);
const runner = el('runner'), advance = el('advance');
const closeNotice = el('closeNotice'), finish = el('finish');
let chases, presses, closures, complete, rollback;
let demoActive = false;
let demoTimers = [];
function setMeter(value) {
el('percent').textContent = value + '%';
el('fill').style.width = value + '%';
el('fill').parentElement.setAttribute('aria-valuenow', value);
}
function renderComplete() {
const total = complete.filter(Boolean).length;
complete.forEach((finished, index) => {
const card = el('card' + index);
card.classList.toggle('done', finished);
card.querySelector('.flag').textContent = finished ? '✓ DONE' : 'PENDING';
});
el('count').textContent = total + ' / 3 COMPLETE';
el('submitLabel').textContent = total === 3 ? 'READY TO FILE' : 'COMPLETE ALL 3 TASKS';
finish.setAttribute('aria-disabled', String(total < 3));
}
function reset(focus = false) {
clearTimeout(rollback);
chases = presses = closures = 0;
complete = [false, false, false];
el('work').hidden = false;
el('receipt').hidden = true;
delete runner.dataset.turn;
runner.textContent = 'Catch me ↗';
runner.disabled = false;
advance.textContent = 'Make progress →';
advance.disabled = false;
setMeter(12);
el('notice').hidden = false;
el('clear').hidden = true;
el('stack1').hidden = el('stack2').hidden = true;
el('noticeTitle').textContent = 'Cookie notice';
el('noticeBody').textContent = 'We use imaginary cookies.';
closeNotice.textContent = 'Close ×';
el('runStatus').textContent = 'Go on. It looks friendly.';
el('meterStatus').textContent = 'The meter feels confident today.';
el('cookieStatus').textContent = 'One notice. Should be easy.';
renderComplete();
if (focus) runner.focus();
}
runner.addEventListener('click', () => {
chases++;
if (chases < 3) {
runner.dataset.turn = chases;
runner.textContent = chases === 1 ? 'Over here ↗' : 'No, here ↙';
el('runStatus').textContent = chases === 1 ? 'It had a very small emergency.' : 'It’s out of excuses now.';
return;
}
delete runner.dataset.turn;
runner.textContent = '✓ Caught';
runner.disabled = true;
el('runStatus').textContent = 'It would like a moment alone.';
complete[0] = true;
renderComplete();
});
advance.addEventListener('click', () => {
presses++;
if (presses === 1) {
setMeter(99);
advance.textContent = 'Almost…';
advance.disabled = true;
el('meterStatus').textContent = '99%. Practically a certainty.';
rollback = setTimeout(() => {
setMeter(71);
advance.textContent = 'Try again →';
advance.disabled = false;
el('meterStatus').textContent = 'It left something back at 71%.';
}, 1000);
} else {
setMeter(100);
advance.textContent = '✓ Progress made';
advance.disabled = true;
el('meterStatus').textContent = '100%. We checked the math twice.';
complete[1] = true;
renderComplete();
}
});
closeNotice.addEventListener('click', () => {
closures++;
el('stack1').hidden = closures > 2;
el('stack2').hidden = closures !== 1;
if (closures < 3) {
el('noticeTitle').textContent = closures === 1 ? 'Notice about the notice' : 'Closure receipt';
el('noticeBody').textContent = closures === 1 ? 'Your first close spawned two forms.' : 'Please close this proof of closing.';
closeNotice.textContent = closures === 1 ? 'Close that ×' : 'Really close ×';
el('cookieStatus').textContent = closures === 1 ? 'Two notices. Somehow.' : 'One last piece of paperwork.';
return;
}
el('notice').hidden = true;
el('clear').hidden = false;
el('cookieStatus').textContent = 'The imaginary cookies are at peace.';
complete[2] = true;
renderComplete();
});
finish.addEventListener('click', () => {
if (!complete.every(Boolean)) return;
el('work').hidden = true;
el('receipt').hidden = false;
if (!demoActive) el('thanks').focus();
});
el('again').addEventListener('click', () => reset(true));
function demoLoop() {
reset();
const sequence = [
[1000, runner], [2200, runner], [3500, runner],
[5100, advance], [8200, advance],
[9900, closeNotice], [11600, closeNotice], [13200, closeNotice],
[15100, finish]
];
demoTimers = sequence.map(([time, button]) => setTimeout(() => button.click(), time));
demoTimers.push(setTimeout(demoLoop, 20000));
}
function stopDemo(event) {
if (!demoActive || !event.isTrusted) return;
demoActive = false;
demoTimers.forEach(clearTimeout);
el('mode').textContent = 'OPEN, TECHNICALLY';
}
reset();
if (location.hash === '#demo') {
demoActive = true;
el('mode').textContent = 'DEMO / TAP TO TAKE OVER';
document.addEventListener('pointerdown', stopDemo, true);
document.addEventListener('touchstart', stopDemo, {capture: true, passive: true});
document.addEventListener('keydown', stopDemo, true);
demoLoop();
}
</script>
</body>
</html>
