Back to the app
The code
The Most Uncomfortable Web Page by GPT-6.1 Terra
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,viewport-fit=cover">
<title>The Department of Minor Inconveniences</title>
<style>
:root{color-scheme:light;--ink:#202826;--cream:#f3f0e7;--acid:#d9ec77;--orange:#f3aa80;--line:#26302d}*{box-sizing:border-box}body{margin:0;background:var(--cream);color:var(--ink);font-family:Arial,Helvetica,sans-serif;min-height:100vh}button{font:inherit;color:inherit;cursor:pointer;touch-action:manipulation}button:focus-visible{outline:3px solid #d46b45;outline-offset:4px}.shell{max-width:1280px;margin:auto;padding:22px 34px 32px}.top{display:flex;justify-content:space-between;align-items:center;border-bottom:2px solid var(--line);padding-bottom:18px;gap:20px}.brand{display:flex;align-items:center;gap:11px;font-size:12px;letter-spacing:.14em;font-weight:800;text-transform:uppercase}.mark{width:38px;height:38px;border:2px solid var(--ink);border-radius:50%;display:grid;place-items:center;font-size:22px;transform:rotate(-7deg)}.topright{font-family:monospace;font-size:11px;text-align:right;line-height:1.5}.main{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(320px,.95fr);gap:7%;align-items:center;min-height:570px;padding:45px 0}.eyebrow{display:inline-flex;align-items:center;gap:9px;border:1px solid var(--ink);border-radius:100px;padding:8px 12px;font:700 10px monospace;letter-spacing:.12em;text-transform:uppercase;background:#faf9f3}.dot{width:7px;height:7px;background:#759b50;border-radius:50%}h1{font-family:Georgia,serif;font-size:clamp(55px,7.2vw,103px);font-weight:400;letter-spacing:-.065em;line-height:.93;margin:26px 0 22px;max-width:700px}h1 em{font-weight:400;color:#798f48}.intro{font-size:17px;line-height:1.6;max-width:440px;color:#555f59}.smallnote{display:flex;gap:12px;align-items:center;margin-top:34px;font:11px monospace;text-transform:uppercase;letter-spacing:.08em}.smallnote span:first-child{font-size:24px}.card{position:relative;background:#fcfbf5;border:2px solid var(--line);box-shadow:9px 9px 0 #c9c9b9;min-height:450px;transform:rotate(.5deg)}.cardhead{display:flex;align-items:center;justify-content:space-between;padding:17px 20px;border-bottom:2px solid var(--line);font:700 11px monospace;letter-spacing:.1em;text-transform:uppercase}.windowdots{display:flex;gap:5px}.windowdots i{width:8px;height:8px;border:1px solid var(--ink);border-radius:50%}.windowdots i:nth-child(2){background:var(--orange)}.cardbody{padding:30px;min-height:365px;display:flex;flex-direction:column}.step{font:11px monospace;letter-spacing:.1em;color:#6b746d;text-transform:uppercase}.card h2{font:400 36px/1.05 Georgia,serif;letter-spacing:-.04em;margin:16px 0 10px}.card p{font-size:14px;line-height:1.55;color:#606a62;margin:0;max-width:390px}.buttonarea{position:relative;min-height:120px;display:flex;align-items:center;margin-top:18px}.primary,.secondary{border:2px solid var(--ink);border-radius:4px;padding:15px 20px;min-height:54px;font-size:13px;font-weight:800}.primary{background:var(--acid);box-shadow:4px 4px 0 var(--ink);transition:transform .25s,box-shadow .2s;max-width:100%}.primary:active{box-shadow:1px 1px 0 var(--ink)}.secondary{background:transparent}.hint{font:11px/1.5 monospace!important;color:#858b7e!important;margin-top:auto!important}.progresswrap{margin:26px 0 6px}.progresslabel{display:flex;justify-content:space-between;font:700 12px monospace;margin-bottom:9px}.track{height:22px;border:2px solid var(--ink);padding:3px;background:white}.fill{height:100%;width:0;background:#a8c35c;transition:width .4s}.cookie{position:relative;display:flex;align-items:center;justify-content:space-between;gap:15px;background:#e9e5d8;border:2px solid var(--ink);padding:16px 18px;margin-top:12px;transform:rotate(-.3deg)}.cookie strong{display:block;font:700 12px monospace;text-transform:uppercase;letter-spacing:.05em}.cookie p{font-size:12px;margin:5px 0 0;color:#606a62}.cookie button{flex:none;background:#fcfbf5;border:1px solid var(--ink);padding:10px 14px;min-height:44px;font-weight:700}.cookie.extra{background:#f5c7a9;transform:rotate(.35deg);margin-left:16px}.footer{border-top:2px solid var(--ink);margin-top:28px;padding-top:16px;display:flex;justify-content:space-between;gap:20px;font:10px monospace;text-transform:uppercase;letter-spacing:.08em;color:#6b736b}.stamp{position:absolute;right:24px;bottom:25px;width:75px;height:75px;border:1px solid #a2ad8d;border-radius:50%;display:grid;place-items:center;text-align:center;font:9px/1.2 monospace;color:#82936b;transform:rotate(12deg);pointer-events:none}.success-icon{width:60px;height:60px;border:2px solid var(--ink);border-radius:50%;display:grid;place-items:center;font-size:30px;background:var(--acid);margin-bottom:8px}.demo{position:fixed;right:15px;bottom:15px;background:var(--ink);color:white;padding:10px 13px;font:11px monospace;z-index:4}.hidden{display:none!important}@media(max-width:700px){.shell{padding:18px 20px 24px}.topright{font-size:9px}.main{display:block;padding:40px 0 20px;min-height:0}h1{font-size:clamp(53px,13vw,78px);margin:22px 0}.intro{font-size:15px}.smallnote{margin:20px 0 32px}.card{min-height:410px;box-shadow:6px 6px 0 #c9c9b9}.cardbody{padding:24px;min-height:335px}.card h2{font-size:32px}.stamp{width:60px;height:60px;right:17px;bottom:17px;font-size:8px}.cookie{align-items:flex-start}.footer{font-size:9px}.footer span:last-child{text-align:right}}@media(prefers-reduced-motion:reduce){*{transition:none!important}}
</style>
</head>
<body>
<div class="shell">
<header class="top"><div class="brand"><span class="mark">∿</span><span>The Department of<br>Minor Inconveniences</span></div><div class="topright">EST. A MOMENT AGO<br>PLEASE REMAIN PATIENT</div></header>
<main class="main"><section><div class="eyebrow"><span class="dot"></span> A perfectly normal experience</div><h1>A little<br><em>off,</em> isn't it?</h1><p class="intro">Welcome. Everything is working exactly as intended, which is perhaps the problem. Take a breath and proceed at your own inconvenience.</p><div class="smallnote"><span>↘</span><span>Estimated time: a little longer<br>than you'd like</span></div></section>
<section class="card" aria-label="The patience exercise"><div class="cardhead"><span>Patience portal / 001</span><span class="windowdots"><i></i><i></i><i></i></span></div><div id="content" class="cardbody" aria-live="polite"></div><div class="stamp">OFFICIALLY<br>ALMOST<br>FINE</div></section></main>
<div id="cookies"><div class="cookie"><div><strong>🍪 A small cookie situation</strong><p>We use imaginary cookies to make this notice exist.</p></div><button id="cookieClose">Close</button></div></div>
<footer class="footer"><span>© The Department of Minor Inconveniences</span><span>You're doing wonderfully, probably.</span></footer></div>
<div id="demoBadge" class="demo hidden">DEMO MODE · touch to take over</div>
<script>
(function(){
const content=document.getElementById('content'),cookies=document.getElementById('cookies'),badge=document.getElementById('demoBadge');let stage=0,dodges=0,closes=0,demo=location.hash==='#demo',timers=[],run=0;
function later(fn,ms){let id=setTimeout(fn,ms);timers.push(id)}
function clearTimers(){timers.forEach(clearTimeout);timers=[];run++}
function render(){
if(stage===0){content.innerHTML='<div class="step">Step 01 / 03 · The approach</div><h2>Ready when you are.</h2><p>Simply press the button below. It has been briefed on your arrival.</p><div class="buttonarea"><button class="primary" id="action">Let’s begin ↗</button></div><p class="hint">A friendly reminder: the button is a little shy.</p>';let b=document.getElementById('action');b.addEventListener('click',function(){if(dodges<2){dodges++;b.style.transform=dodges===1?'translateX(min(90px, 20vw)) rotate(2deg)':'translateX(0) rotate(-2deg)';content.querySelector('.hint').textContent=dodges===1?'Oh. It went over there. Try again.':'It promises to stay put this time.'}else{stage=1;render()}})}
else if(stage===1){content.innerHTML='<div class="step">Step 02 / 03 · Making progress</div><h2>Almost there. Ish.</h2><p>We’re preparing your perfectly ordinary conclusion. Please encourage the progress bar.</p><div class="progresswrap"><div class="progresslabel"><span id="progressText">READY TO PROGRESS</span><span id="percent">0%</span></div><div class="track" role="progressbar" aria-label="Patience progress" aria-valuemin="0" aria-valuemax="100" aria-valuenow="0"><div id="fill" class="fill"></div></div></div><div class="buttonarea"><button class="primary" id="progressButton">Make progress →</button></div><p class="hint" id="progressHint">Every journey begins with a single click.</p>';let n=0,slipped=false;document.getElementById('progressButton').onclick=function(){if(n===0)n=42;else if(n===42)n=78;else if(n===78&&!slipped)n=99;else if(n===99){n=87;slipped=true;document.getElementById('progressHint').textContent='A tiny administrative setback. One more push.'}else{n=100}document.getElementById('fill').style.width=n+'%';document.getElementById('percent').textContent=n+'%';document.querySelector('.track').setAttribute('aria-valuenow',n);document.getElementById('progressText').textContent=n===100?'COMPLETELY COMPLETE':'PROGRESS IN PROGRESS';if(n===100){this.textContent='Continue to the end →';this.onclick=function(){stage=2;render()}}}}
else if(stage===2){content.innerHTML='<div class="step">Step 03 / 03 · The final formality</div><h2>One last little thing.</h2><p>To complete your experience, close this completely necessary message.</p><div class="buttonarea"><button class="primary" id="finalClose">Close this message ×</button></div><p class="hint">This is definitely the last button. Probably.</p>';document.getElementById('finalClose').onclick=function(){if(!this.dataset.extra){this.dataset.extra='yes';this.textContent='Close the other close button ×';content.querySelector('.hint').textContent='A new close button has appeared. Naturally.'}else{stage=3;render()}}}
else{content.innerHTML='<div class="success-icon">✓</div><div class="step">All done · Officially</div><h2>Thank you for<br>your patience.</h2><p>You made it through several entirely unnecessary steps. We couldn’t have mildly inconvenienced you without you.</p><div class="buttonarea"><button class="secondary" id="restart">Do it all again ↺</button></div><p class="hint">You may now carry on with your day.</p>';document.getElementById('restart').onclick=function(){stage=0;dodges=0;render()}}
}
document.getElementById('cookieClose').onclick=function(){if(closes<2){closes++;let d=document.createElement('div');d.className='cookie extra';d.innerHTML='<div><strong>Another cookie notice</strong><p>Closing that one created a little paperwork.</p></div><button>Close</button>';d.querySelector('button').onclick=function(){d.remove()};cookies.appendChild(d);if(closes===2){this.textContent='Dismiss';this.parentElement.querySelector('p').textContent='All right, you can dismiss this one now.'}}else this.parentElement.remove()};
function endDemo(){if(!demo)return;demo=false;clearTimers();badge.classList.add('hidden')}
document.addEventListener('pointerdown',function(e){if(e.isTrusted)endDemo()},{capture:true});document.addEventListener('keydown',function(e){if(e.isTrusted)endDemo()},{capture:true});
function demoLoop(){if(!demo)return;clearTimers();stage=0;dodges=0;render();let token=run;function clickAt(ms,selector){later(function(){if(demo&&token===run){let el=document.querySelector(selector);if(el)el.click()}},ms)}clickAt(1500,'#action');clickAt(2800,'#action');clickAt(4100,'#action');clickAt(5400,'#cookieClose');clickAt(6500,'.cookie.extra button');clickAt(7500,'#progressButton');clickAt(8800,'#progressButton');clickAt(10100,'#progressButton');clickAt(11400,'#progressButton');clickAt(12700,'#progressButton');clickAt(13900,'#progressButton');clickAt(15400,'#finalClose');clickAt(16800,'#finalClose');later(function(){if(demo&&token===run)demoLoop()},20000)}
render();if(demo){badge.classList.remove('hidden');demoLoop()}
})();
</script>
</body>
</html>
