
/* GOTEK_VISUAL_REFRESH_20261002: responsive presentation, existing PHP/feed intact. */
body.gotek-refresh {
  --gold: #d9b76e; --gold-light: #f4ddaa; --text: #e3d8c4; --text-dim: #b1a48d;
  --border: rgba(217,183,110,.24);
  background: #0b0c10; font-family: 'Crimson Text', Georgia, serif;
  font-size: 1.125rem; line-height: 1.6;
}
.gotek-refresh :is(a, button, input):focus-visible { outline: 2px solid #f4ddaa; outline-offset: 5px; }
.gotek-refresh .navbar { height: 80px; padding: 0 max(24px, calc((100vw - 1380px)/2)); background: rgba(11,12,16,.96); }
.gotek-refresh .nav-logo { gap: 12px; flex-wrap: wrap; }
.gotek-refresh .logo-text { font-size: 1.25rem; letter-spacing: 1px; }
.gotek-refresh .logo-version { color: #b1a48d; font-size: .875rem; }
.gotek-refresh .nav-links { gap: 24px; }
.gotek-refresh .nav-links a { font-size: .875rem; letter-spacing: .4px; color: #c5b99f; padding-block: 10px; }
.gotek-refresh .nav-links a.active { color: #f4ddaa; border-bottom: 1px solid #d9b76e; }
.gotek-refresh .btn-nav { padding: 10px 18px; border-radius: 2px; }
.gotek-refresh .hero { padding: 146px 24px 64px; min-height: auto; background: radial-gradient(ellipse at 50% 0%, #28202f 0%, transparent 52%), #0b0c10; }
.gotek-refresh .hero::before { background: radial-gradient(ellipse at 50% 40%, rgba(142,107,47,.07), transparent 68%); }
.gotek-refresh .hero::after, .gotek-refresh .hero-ornament { display: none; }
.gotek-refresh .hero-content { padding: 0; max-width: 900px; margin: 0 auto 36px; }
.gotek-refresh .hero-badge { color: #c9b185; border-color: rgba(217,183,110,.3); background: rgba(217,183,110,.05); font-size: .875rem; letter-spacing: 2px; margin-bottom: 22px; padding: 5px 16px; }
.gotek-refresh .hero-title { font-size: clamp(2.75rem, 5.6vw, 5.5rem); color: #f4ddaa; letter-spacing: 1px; text-shadow: 0 5px 28px rgba(0,0,0,.5); }
.gotek-refresh .hero-title-gotek::before { display: none; }
.gotek-refresh .hero-title-main { line-height: 1.15; }
.gotek-refresh .hero-title-addon { font-size: clamp(1.125rem, 2vw, 1.5rem); letter-spacing: .28em; color: #d9b76e; margin-top: 14px; line-height: 1.5; text-shadow: none; }
.gotek-refresh .hero-sub { font-size: 1.25rem; color: #c2b49d; margin: 20px 0 28px; }
.gotek-refresh .hero-actions { gap: 14px; flex-wrap: wrap; justify-content: center; }
.gotek-refresh :is(.btn-primary,.btn-secondary) { min-height: 48px; padding: 13px 25px; border-radius: 3px; font-size: .875rem; letter-spacing: .6px; }
.gotek-refresh .btn-primary { background: #dfbd78; color: #16120c; border: 1px solid #dfbd78; box-shadow: 0 5px 24px rgba(217,183,110,.12); }
.gotek-refresh .btn-primary:hover { background: #f4ddaa; transform: translateY(-2px); }
.gotek-refresh .btn-secondary { color: #e4d5b6; border-color: #675944; background: rgba(255,255,255,.02); }
.gotek-refresh .gotek-archive-stage { zoom: 1 !important; width: 100% !important; min-width: 0 !important; max-width: 1380px !important; grid-template-columns: 210px minmax(0,1fr) 210px !important; gap: 22px !important; margin: 18px auto 0 !important; text-align: left; }
.gotek-refresh .gotek-archive-side { min-height: 0; padding: 28px 20px; background: linear-gradient(160deg,#19171a,#101115); border: 1px solid #514536; border-radius: 5px; box-shadow: 0 12px 28px rgba(0,0,0,.22); }
.gotek-refresh .gotek-archive-side::before { border-color: rgba(217,183,110,.1); }
.gotek-refresh :is(.gotek-side-title,.gotek-side-title.small,.gotek-side-feature strong) { font-size: .875rem; letter-spacing: .7px; color: #e1c994; }
.gotek-refresh :is(.gotek-side-caption,.gotek-side-legend,.gotek-side-feature span,.gotek-side-rune) { font-size: .875rem; color: #b7aa95; }
.gotek-refresh .gotek-online-status { font-size: .875rem; }
.gotek-refresh .gotek-side-number { font-size: 2.75rem; line-height: 1.25; margin: 16px 0 6px; }
.gotek-refresh :is(.gotek-side-links a,.gotek-side-button) { font-size: .875rem; padding: 12px 3px; line-height: 1.5; color: #d6c5a6; }
.gotek-refresh .gotek-side-button { padding: 10px; }
.gotek-refresh .gotek-live-description { font-size: 1rem; color: #b7aa95; line-height: 1.6; }
.gotek-refresh .gotek-side-rune { position: static; margin-top: 26px; }
.gotek-refresh .gotek-book-frame { padding: 12px !important; border-radius: 5px; box-shadow: 0 20px 50px rgba(0,0,0,.36); }
.gotek-refresh .gotek-book-frame::before { inset: -4px; border-radius: 8px; box-shadow: none; }
.gotek-refresh .gotek-book-clasp { width: 24px; height: 24px; }
.gotek-refresh .gotek-book-pages { min-height: 560px !important; border-radius: 3px; background: linear-gradient(90deg,#e6d5b3,#f0e2c6 47%,#bea17a 49.8%,#8b6d49 50%,#bea17a 50.2%,#f0e2c6 53%,#e6d5b3); }
.gotek-refresh .gotek-book-pages::after { inset: 7px; border-color: rgba(96,67,28,.15); box-shadow: none; }
.gotek-refresh .gotek-book-spine { width: 20px; opacity: .45; }
.gotek-refresh .gotek-patch-header { padding: 22px 28px; min-height: 96px; gap: 16px; }
.gotek-refresh .gotek-patch-heading { min-width: 0; gap: 12px; }
.gotek-refresh .gotek-patch-heading h2 { color: #392617; font-size: clamp(1.125rem,1.7vw,1.5rem); line-height: 1.35; text-shadow: none; }
.gotek-refresh .gotek-book-sigil { flex-shrink: 0; width: 40px; height: 40px; font-size: 1.125rem; }
.gotek-refresh .gotek-patch-source { color: #614a30; font-size: .875rem; letter-spacing: 0; }
.gotek-refresh .gotek-discord-join { font-size: .875rem; padding: 10px 12px; line-height: 1.4; text-align: center; flex-shrink: 0; box-shadow: none; border-radius: 3px; }
.gotek-refresh .gotek-patch-scroll { height: 420px !important; padding: 8px 28px 24px !important; column-gap: 36px !important; overscroll-behavior: contain; scrollbar-color: #8c6a37 #dacaab; }
.gotek-refresh .gotek-patch-message { padding: 22px 0; grid-template-columns: 44px minmax(0,1fr); gap: 12px; }
.gotek-refresh .gotek-patch-message::before { display: none; }
.gotek-refresh .gotek-patch-date-box { width: 44px; min-width: 0; height: auto; align-self: start; padding: 7px 2px; }
.gotek-refresh .gotek-patch-date-box strong { font-size: 1.25rem; }
.gotek-refresh .gotek-patch-date-box :is(span,small) { font-size: .75rem; color: #e1c590; }
.gotek-refresh .gotek-patch-label { font-size: .75rem; color: #715128; line-height: 1.5; letter-spacing: .3px; }
.gotek-refresh .gotek-patch-summary h3 { font-size: 1rem; line-height: 1.5; overflow-wrap: anywhere; }
.gotek-refresh .gotek-patch-summary p { font-size: 1rem; line-height: 1.6; color: #4e3923; overflow-wrap: anywhere; }
.gotek-refresh .gotek-read-patch { font-size: .875rem; letter-spacing: .3px; color: #61421b; min-height: 40px; cursor: pointer; }
.gotek-refresh .gotek-patch-preview-image { width: 88px; max-height: 72px; object-fit: cover; }
.gotek-refresh :is(.gotek-patch-loading,.gotek-patch-load-error,.gotek-patch-empty) { font-size: 1.125rem; padding-block: 32px; }
.gotek-refresh .gotek-patch-footer { font-size: .875rem; padding: 12px 28px; text-align: center; line-height: 1.4; }
.gotek-refresh .gotek-book-page-number { font-size: .75rem; bottom: -17px; }
.gotek-refresh .stats-bar { max-width: 1380px; margin: 0 auto; background: #111216; border: 1px solid var(--border); padding: 24px; gap: 24px; border-radius: 4px; }
.gotek-refresh .stat-icon { display: none; }
.gotek-refresh .stat-val { font-size: 1.75rem; }
.gotek-refresh .stat-label { font-size: .875rem; color: #b7aa95; letter-spacing: .5px; }
.gotek-refresh .main-content { max-width: 1428px; padding: 48px 24px 64px; }
.gotek-refresh .content-grid { grid-template-columns: minmax(0,1fr) 340px; gap: 28px; }
.gotek-refresh .card { background: #14151a; border-color: #38322b; border-radius: 5px; box-shadow: none; }
.gotek-refresh .card-header { padding: 20px 24px; background: rgba(217,183,110,.035); }
.gotek-refresh .card-header h2 { font-size: 1.125rem; letter-spacing: .4px; }
.gotek-refresh .news-item { padding: 24px; }
.gotek-refresh .news-date { font-size: .875rem; color: #c9b185; }
.gotek-refresh .news-title { font-size: 1.25rem; line-height: 1.4; }
.gotek-refresh .news-body { font-size: 1.125rem; line-height: 1.7; color: #c2b7a3; }
.gotek-refresh .features-grid { gap: 0; padding: 0 12px; }
.gotek-refresh .feature { padding: 24px 16px; }
.gotek-refresh .feature b { font-size: 1rem; }
.gotek-refresh .feature p { font-size: 1rem; color: #b7aa95; }
.gotek-refresh :is(.rank-name,.rank-job,.rank-lvl,.rank-num,.form-links a,.btn-full) { font-size: .875rem; }
.gotek-refresh .rank-row { gap: 8px; padding: 13px 20px; }
.gotek-refresh .rank-name { overflow-wrap: anywhere; }
.gotek-refresh .rank-job { flex-shrink: 0; font-size: .875rem; }
.gotek-refresh .input-field { min-height: 48px; font-size: 1rem; background: #0e1014; color: #e3d8c4; border-color: #514536; }
.gotek-refresh .input-field::placeholder { color: #b1a48d; opacity: 1; }
.gotek-refresh .btn-full { min-height: 46px; line-height: 1.5; border-radius: 3px; }
.gotek-refresh .download-widget p { font-size: 1rem; }
.gotek-refresh .footer { font-size: .875rem; color: #b1a48d; padding: 30px 24px; background: #0b0c10; }
.gotek-refresh .particles { opacity: .2; }
.gotek-refresh .gotek-modal-window { width: min(900px,calc(100vw - 32px)); max-height: calc(100dvh - 32px); border-radius: 6px; }
.gotek-refresh .gotek-modal-content { font-size: 1.125rem; line-height: 1.7; overflow-wrap: anywhere; }
.gotek-refresh :is(.gotek-modal-nav,.gotek-modal-original,.gotek-modal-discord,.gotek-modal-date) { font-size: .875rem; line-height: 1.5; }
.gotek-refresh .gotek-modal-close { min-width: 44px; min-height: 44px; }
@media (max-width: 1180px) {
  .gotek-refresh .gotek-archive-stage { grid-template-columns: 190px minmax(0,1fr) !important; }
  .gotek-refresh .gotek-side-right { display: none !important; }
  .gotek-refresh .gotek-patch-scroll { grid-template-columns: minmax(0,1fr) !important; }
  .gotek-refresh .gotek-book-pages { background: linear-gradient(110deg,#efdfbd,#e2cca5); }
  .gotek-refresh .gotek-book-spine { display: none !important; }
  .gotek-refresh .navbar { padding-inline: 24px; }
  .gotek-refresh .nav-links { gap: 16px; }
}
@media (max-width: 850px) {
  .gotek-refresh .navbar { position: relative; height: auto; min-height: 80px; padding: 18px 24px; flex-wrap: wrap; gap: 14px; }
  .gotek-refresh .nav-links { width: 100%; flex-wrap: wrap; gap: 8px 20px; justify-content: flex-start; }
  .gotek-refresh .hero { padding-top: 46px; }
  .gotek-refresh .content-grid { grid-template-columns: minmax(0,1fr); }
  .gotek-refresh .col-side { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; align-items: start; }
  .gotek-refresh .col-side .card { margin-bottom: 0; }
  .gotek-refresh .ranking-widget { grid-row: span 2; }
}
@media (max-width: 620px) {
  .gotek-refresh .hero { padding: 36px 16px 44px; }
  .gotek-refresh .hero-content { margin-bottom: 24px; }
  .gotek-refresh .hero-title { font-size: clamp(2rem,9vw,3rem); }
  .gotek-refresh .hero-title-addon { font-size: 1rem; letter-spacing: .2em; }
  .gotek-refresh .hero-sub { font-size: 1.125rem; }
  .gotek-refresh .hero-actions { flex-direction: column; align-items: stretch; }
  .gotek-refresh .gotek-archive-stage { grid-template-columns: minmax(0,1fr) !important; gap: 18px !important; }
  .gotek-refresh .gotek-side-left { display: none !important; }
  .gotek-refresh .gotek-book-frame { padding: 8px !important; }
  .gotek-refresh .gotek-book-pages { min-height: 0 !important; }
  .gotek-refresh .gotek-patch-header { padding: 20px 16px; flex-wrap: wrap; justify-content: flex-start; }
  .gotek-refresh .gotek-book-sigil { display: none; }
  .gotek-refresh .gotek-patch-heading h2 { font-size: 1.125rem; }
  .gotek-refresh .gotek-discord-join { margin-left: 0; }
  .gotek-refresh .gotek-patch-scroll { padding: 0 16px 20px !important; height: 440px !important; }
  .gotek-refresh .gotek-patch-message { gap: 10px; }
  .gotek-refresh .gotek-patch-footer { padding: 14px 16px; }
  .gotek-refresh .gotek-footer-line { display: none; }
  .gotek-refresh .stats-bar { margin: 0 16px; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
  .gotek-refresh .stat-divider { display: none; }
  .gotek-refresh .main-content { padding: 32px 16px; }
  .gotek-refresh .features-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .gotek-refresh .col-side { display: block; }
  .gotek-refresh .col-side .card { margin-bottom: 20px; }
  .gotek-refresh .gotek-modal-footer { flex-direction: column; align-items: stretch; gap: 12px; padding: 16px; }
  .gotek-refresh .gotek-modal-header { padding: 20px 16px; }
  .gotek-refresh .gotek-modal-content { padding: 20px 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .gotek-refresh *, .gotek-refresh *::before, .gotek-refresh *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .gotek-refresh .particles { display: none; }
}

/* GOTEK_MECHANISM_V1: only transforms animate; static on mobile/reduced motion. */
.gotek-refresh .hero {padding:0 0 56px;background:#090c10;}
.gotek-refresh .hero::before {display:none;}
.gotek-refresh .cinematic {position:relative;isolation:isolate;width:100%;height:780px;min-height:680px;overflow:hidden;text-align:left;--scene-x:0px;--scene-y:0px;}
.gotek-refresh .mechanism-scene {position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;z-index:-4;transform:scale(1.035);}
.gotek-refresh .mechanism-shade {position:absolute;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(90deg,rgba(7,10,14,.55),transparent 55%),linear-gradient(0deg,#090c10,transparent 24%);}
.gotek-refresh .ring-holder {position:absolute;left:74%;top:47%;width:min(44vw,650px);aspect-ratio:1;z-index:-3;transform:translate(-50%,-50%) rotate(-20deg) scaleY(.79);pointer-events:none;}
.gotek-refresh .mechanism-ring {display:block;width:100%;height:100%;opacity:0;}
.gotek-refresh .ring-ready .mechanism-ring {opacity:.7;animation:mechanism-orbit 110s linear infinite;animation-play-state:paused;}
.gotek-refresh .motion-active .mechanism-ring {animation-play-state:running;will-change:transform;}
.gotek-refresh .motion-active .mechanism-scene {transform:translate3d(var(--scene-x),var(--scene-y),0) scale(1.035);transition:transform .55s ease-out;will-change:transform;}
.gotek-refresh .cinematic .hero-content {position:relative;z-index:2;max-width:1380px;margin:0 auto;padding:225px 0 130px;width:90%;}
.gotek-refresh .cinematic .hero-content > * {max-width:600px;}
.gotek-refresh .hero-title {align-items:flex-start;font-size:1.25rem;letter-spacing:.28em;line-height:1.5;font-weight:400;}
.gotek-refresh .hero-title-main {font-size:1rem;line-height:1.6;letter-spacing:.38em;color:#c1b79e;}
.gotek-refresh .hero-title-addon {font-size:clamp(4.5rem,8vw,7.5rem);letter-spacing:.025em;line-height:1.15;font-weight:400;margin-top:10px;color:#e8d6ae;text-shadow:0 4px 30px #0008;}
.gotek-refresh .hero-badge {display:none;}
.gotek-refresh .hero-sub {font-size:1.3rem;font-style:normal;margin:26px 0 30px;color:#cdc8bc;}
.gotek-refresh .hero-actions {justify-content:flex-start;}
.gotek-refresh .hell-test-note {font-family:'Crimson Text',Georgia,serif;font-size:1rem;color:#a7aeb5;margin-top:24px;display:block;}
.gotek-refresh .motion-toggle {position:absolute;right:max(24px,5vw);bottom:48px;z-index:4;display:grid;place-items:center;width:44px;height:44px;background:#0c101bd9;border:1px solid #827253;border-radius:50%;cursor:pointer;}
.gotek-refresh .motion-toggle[hidden] {display:none;}
.gotek-refresh .motion-toggle span {width:10px;height:12px;border-left:3px solid #d9b76e;border-right:3px solid #d9b76e;}
.gotek-refresh .motion-toggle[aria-pressed="true"] span {width:0;height:0;border:0;border-left:10px solid #d9b76e;border-top:6px solid transparent;border-bottom:6px solid transparent;}
.gotek-refresh .gotek-archive-stage {padding:0 24px;margin:0 auto !important;max-width:1428px !important;grid-template-columns:210px minmax(0,1fr) !important;gap:28px !important;}
.gotek-refresh .gotek-side-right {display:none !important;}
.gotek-refresh .gotek-archive-side {background:#11151a;border-color:#433b2e;}
.gotek-refresh .gotek-book-frame {padding:0 !important;border:1px solid #433b2e;border-radius:3px;background:#11151a;box-shadow:none;}
.gotek-refresh .gotek-book-frame::before,.gotek-refresh .gotek-book-clasp,.gotek-refresh .gotek-book-spine,.gotek-refresh .gotek-book-page-number,.gotek-refresh .gotek-book-pages::after {display:none !important;}
.gotek-refresh .gotek-book-pages {background:#11151a;border:0;border-radius:3px;box-shadow:none;min-height:560px !important;color:#e2d6bc;}
.gotek-refresh .gotek-patch-header {border-color:#4e4434;background:#14181c;}
.gotek-refresh .gotek-patch-heading h2 {color:#e2c791;font-weight:400;text-transform:none;letter-spacing:.4px;}
.gotek-refresh .gotek-patch-source {color:#a6a9aa;}
.gotek-refresh .gotek-book-sigil {color:#d9b76e;background:#1c2024;border-color:#534939;box-shadow:none;}
.gotek-refresh .gotek-discord-join {color:#d4c194;border-color:#655638;background:transparent;}
.gotek-refresh .gotek-discord-join:hover {color:#f0dbb0;background:#24221a;}
.gotek-refresh .gotek-patch-scroll {scrollbar-color:#716047 #11151a;grid-template-columns:repeat(2,minmax(0,1fr)) !important;column-gap:28px !important;}
.gotek-refresh .gotek-patch-scroll::-webkit-scrollbar-track {background:#11151a;}
.gotek-refresh .gotek-patch-scroll::-webkit-scrollbar-thumb {background:#716047;border-color:#11151a;}
.gotek-refresh .gotek-patch-message {border-bottom-color:#383b3d;color:#e2d6bc;}
.gotek-refresh .gotek-patch-date-box {background:#1b1f22;border-color:#534939;box-shadow:none;}
.gotek-refresh .gotek-patch-summary h3 {color:#e0d3ba;text-shadow:none;}
.gotek-refresh .gotek-patch-summary p {color:#bdc0c0;}
.gotek-refresh .gotek-patch-label {color:#c5ae83;}
.gotek-refresh .gotek-read-patch {color:#dbbb7c;}
.gotek-refresh .gotek-read-patch:hover {color:#f0dcb1;text-shadow:none;}
.gotek-refresh .gotek-patch-preview-image {filter:none;border-color:#514536;}
.gotek-refresh :is(.gotek-patch-empty,.gotek-patch-loading,.gotek-patch-load-error) {color:#c5bda9;}
.gotek-refresh .gotek-patch-footer {color:#a9acac;border-color:#383b3d;}
.gotek-refresh .particles {display:none;}
.gotek-refresh .stats-bar {margin-top:0;max-width:1380px;}
.gotek-refresh .stat-label {white-space:normal;overflow-wrap:anywhere;line-height:1.5;}
.gotek-refresh .stat-item {min-width:0;display:flex;flex-direction:column;align-items:center;gap:4px;padding:8px 24px;}
.gotek-refresh .gotek-patch-summary img[hidden] {display:none;}
@keyframes mechanism-orbit {to{transform:rotate(360deg);}}
@media(max-width:1180px){.gotek-refresh .gotek-patch-scroll{grid-template-columns:minmax(0,1fr) !important;}.gotek-refresh .hero-title-addon{font-size:6rem;}.gotek-refresh .cinematic .hero-content > *{max-width:520px;}}
@media(max-width:850px){.gotek-refresh .cinematic .hero-content{padding-top:135px;}.gotek-refresh .cinematic{height:650px;min-height:600px;}.gotek-refresh .hero-title-addon{font-size:5.5rem;}.gotek-refresh .cinematic .hero-content > *{max-width:470px;}}
@media(max-width:760px){.gotek-refresh .cinematic{height:660px;min-height:0;}.gotek-refresh .mechanism-scene{object-position:70% center;opacity:.74;transform:none !important;transition:none !important;will-change:auto !important;}.gotek-refresh .mechanism-shade{background:linear-gradient(90deg,#090c10bd,#090c1080),linear-gradient(0deg,#090c10,transparent 40%);}.gotek-refresh .ring-holder{display:none;}.gotek-refresh .cinematic .hero-content{width:100%;padding:120px 24px 100px;}.gotek-refresh .hero-title-addon{font-size:clamp(3.25rem,13vw,5rem);}.gotek-refresh .hero-title-main{font-size:.875rem;}.gotek-refresh .hero-sub{font-size:1.125rem;line-height:1.5;}.gotek-refresh .hero-actions{align-items:flex-start;flex-direction:row;}.gotek-refresh .hero-actions a{flex:1;text-align:center;font-size:.875rem;padding:13px 14px;}.gotek-refresh .motion-toggle{display:none;}.gotek-refresh .gotek-archive-stage{padding:0 16px;grid-template-columns:minmax(0,1fr) !important;}.gotek-refresh .gotek-side-left{display:none !important;}.gotek-refresh .gotek-book-frame{padding:0 !important;}.gotek-refresh .gotek-book-pages{min-height:0 !important;}.gotek-refresh .hero{padding-bottom:32px;}}
@media(prefers-reduced-motion:reduce){.gotek-refresh .mechanism-ring{display:none;}.gotek-refresh .mechanism-scene{transform:none !important;transition:none !important;will-change:auto !important;}}
